droute: Fix memory leak in path cleanup
authorAndrew Potter <agpotter@gmail.com>
Mon, 19 Nov 2012 16:33:40 +0000 (10:33 -0600)
committerMike Gorse <mgorse@suse.com>
Mon, 19 Nov 2012 16:33:40 +0000 (10:33 -0600)
commita9691925d9a5e2eb32009de2cc6bfa4b9f168945
tree5c67feae0a65a7c8b628e841b6cf09f907fb2b2b
parent0565497849a5f3a0de34670f5229f33d9417f115
droute: Fix memory leak in path cleanup

    Frees all allocated memory.

    g_ptr_array_free(..., FALSE) was probably being called to avoid a destructor being called on the elements of the array that point to static data. But that method returns an array that must still be g_free()d.

    https://bugzilla.gnome.org/show_bug.cgi?id=688363
droute/droute.c