Bug#692018: xfdesktop4: Possible memory leak in settings/main.c

2022-11-13 Thread Akbarkhon Variskhanov
Control: tags -1 fixed-upstream I know it's been a long time but it looks like commit 26b9e349bc3497922318bbc5940075d0c497cc8a fixed it by calling g_free(pdata) before returning from image_treeview_drag_data_received(): @ -1172,14 +1175,15 @@ image_treeview_drag_data_received(GtkWidget *widget,

Bug#692018: xfdesktop4: Possible memory leak in settings/main.c

2012-11-01 Thread Niels Thykier
Package: xfdesktop4 Version: 4.8.3-2 Severity: normal Tags: upstream Hi, cppcheck brought the following code snippet in settings/main.c to my attention. Unlike #692016, this appears to be a real leak: """ PreviewData *pdata = g_new0(PreviewData, 1); pdata->model = g_object_ref(G_OBJECT