From: Jean-Philippe Orsini Date: Mon, 1 Apr 2013 09:12:19 +0000 (+0000) Subject: free the ordered list X-Git-Tag: v0.8.0.5~122 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=82e3ee4991bb3a06527f66a2fa5673f05ad0d0c7 free the ordered list --- diff --git a/src/ui_sensorlist.c b/src/ui_sensorlist.c index ab7305a..4904eb4 100644 --- a/src/ui_sensorlist.c +++ b/src/ui_sensorlist.c @@ -353,6 +353,7 @@ static void create_widget(struct ui_psensor *ui) gtk_list_store_append(store, &iter); gtk_list_store_set(store, &iter, COL_SENSOR, *s_cur, -1); } + free(ordered_sensors); ui_sensorlist_update(ui, 1); }