From 4c120e487b7e7794966c569e35ad8ba3de78a0cc Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 7 Feb 2012 21:43:28 +0000 Subject: [PATCH] pam: Fix crash when enumerating the devices We don't need to free this by hand, it'll get freed when we free the array itself. --- pam/pam_fprintd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/pam/pam_fprintd.c b/pam/pam_fprintd.c index bc371b8..6dee6ae 100644 --- a/pam/pam_fprintd.c +++ b/pam/pam_fprintd.c @@ -205,7 +205,6 @@ static DBusGProxy *open_device(pam_handle_t *pamh, DBusGConnection *connection, dev = NULL; } - g_strfreev ((char **)paths_array->pdata); g_ptr_array_free (paths_array, TRUE); return dev;