kov changed libgksu/trunk/ChangeLog, libgksu/trunk/libgksu/libgksu.c
Gustavo Noronha
kov at alioth.debian.org
Mon Jun 29 17:49:22 UTC 2009
Mensagem de log:
2009-06-29 Joshua Kwan <jkwan at vmware.com>
* libgksu/libgksu.c:
- Fix double-free introduced by recent changes.
-----
Modified: libgksu/trunk/ChangeLog
===================================================================
--- libgksu/trunk/ChangeLog 2009-06-24 18:14:53 UTC (rev 866)
+++ libgksu/trunk/ChangeLog 2009-06-29 17:49:20 UTC (rev 867)
@@ -1,3 +1,9 @@
+2009-06-29 Joshua Kwan <jkwan at vmware.com>
+
+ * libgksu/libgksu.c:
+
+ - Fix double-free introduced by recent changes.
+
2009-06-24 Gustavo Noronha Silva <kov at debian.org>
* Release 2.0.11
Modified: libgksu/trunk/libgksu/libgksu.c
===================================================================
--- libgksu/trunk/libgksu/libgksu.c 2009-06-24 18:14:53 UTC (rev 866)
+++ libgksu/trunk/libgksu/libgksu.c 2009-06-29 17:49:20 UTC (rev 867)
@@ -2860,7 +2860,6 @@
"does not allow you to run this program. Contact "
"the system administrator."));
}
- g_free(child_stderr);
if(cmdline)
{
/* sudo already exec()ed something else, don't report
@@ -2869,6 +2868,7 @@
if (!g_str_has_suffix (cmdline, "sudo"))
{
g_free (cmdline);
+ g_free (child_stderr);
return FALSE;
}
g_free (cmdline);
@@ -2881,6 +2881,7 @@
}
}
+ fprintf(stderr, child_stderr);
g_free(child_stderr);
/* if error is set we have found an error condition */
More information about the gksu-commits
mailing list