Package: devilspie Severity: minor Tags: upstream
""" int my_wnck_get_viewport_start (WnckWindow *win) { gulong *list; int len; my_wnck_get_cardinal_list (RootWindowOfScreen (my_wnck_window_get_xscreen (win)), my_wnck_atom_get ("_NET_DESKTOP_VIEWPORT"), &list, &len); if (len > 0) { return list[0]; } else { return -1; } } """ And somewhere in my_wnck_get_cardinal_list (same file): """ gboolean my_wnck_get_cardinal_list (Window xwindow, Atom atom, gulong **cardinals, int *len) { [...] *cardinals = g_new (gulong, nitems); memcpy (*cardinals, nums, sizeof (gulong) * nitems); *len = nitems; [...] } """ So list (in my_wnck_get_viewport_start) will be the result of a call to g_new on success but there is no call to deallocate said memory. ~Niels -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org