mirror of https://github.com/GNOME/gimp.git
parent
6db3c6d801
commit
e95394f073
|
@ -1,3 +1,8 @@
|
|||
Thu Jul 15 10:12:44 MEST 1999 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/gserialize.c
|
||||
* app/main.c: plugged some mem leaks
|
||||
|
||||
1999-07-14 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* app/makefile.cygwin
|
||||
|
|
22
app/main.c
22
app/main.c
|
@ -542,9 +542,25 @@ test_gserialize (void)
|
|||
g_return_if_fail (to->test_array[1] == ts->test_array[1]);
|
||||
if (to->test_array[1] != ts->test_array[1])
|
||||
g_message("int16array value 1 test failed(please email your system configuration to jaycox@earthlink.net): %d\n", to->test_array[1]);
|
||||
/* really should free the memory... */
|
||||
|
||||
#ifndef NATIVE_WIN32
|
||||
g_message("Passed serialization test\n");
|
||||
#endif
|
||||
}/*
|
||||
67108864 */
|
||||
|
||||
/* free the memory */
|
||||
g_free (ts->test_array);
|
||||
g_free (ts);
|
||||
g_free (to->test_array);
|
||||
g_free (to->test_string);
|
||||
g_free (to);
|
||||
g_free_serial_description (test_struct_descript);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -119,6 +119,7 @@ void g_free_serial_description(GSerialDescription *d)
|
|||
g_free(d->list->data);
|
||||
d->list = g_slist_remove_link(d->list, d->list);
|
||||
}
|
||||
g_free (d);
|
||||
}
|
||||
|
||||
static int g_serial_item_is_array(GSerialItem *item)
|
||||
|
|
Loading…
Reference in New Issue