Ensure pointers are put back to NULL when freed.
--Cette ligne, et les suivantes ci-dessous, seront ignorées-- M trunk/palette.c M trunk/init.c M trunk/engine.c M trunk/filesel.c M trunk/miscfileformats.c M trunk/pages.c M trunk/brush_ops.c M trunk/op_c.c M trunk/operatio.c M trunk/brush.c M trunk/loadsave.c M trunk/graph.c M trunk/fileformats.c M trunk/main.c git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1277 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
1
graph.c
1
graph.c
@@ -2531,6 +2531,7 @@ void Polyfill_general(int vertices, short * points, int color)
|
||||
}
|
||||
|
||||
free(initial_edge);
|
||||
initial_edge = NULL;
|
||||
|
||||
// On ne connait pas simplement les xmin et xmax ici, mais de toutes façon ce n'est pas utilisé en preview
|
||||
Update_part_of_screen(0,top,Main_image_width,bottom-top+1);
|
||||
|
||||
Reference in New Issue
Block a user