gtk_clist_set_row_data_full() bug
- From: Damon Chaplin <damon karuna freeserve co uk>
- To: Gtk Developers List <gtk-devel-list redhat com>
- Subject: gtk_clist_set_row_data_full() bug
- Date: Wed, 15 Dec 1999 23:08:11 +0000
I've just noticed that gtk_clist_set_row_data_full() isn't calling
the destroy function on the old data, which means memory may be leaked.
I think these 2 lines need to be added:
if (clist_row->destroy)
clist_row->destroy (clist_row->data);
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]