summaryrefslogtreecommitdiff
path: root/gui/gdmcomm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/gdmcomm.c')
-rw-r--r--gui/gdmcomm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/gdmcomm.c b/gui/gdmcomm.c
index fd599ece..0a430e57 100644
--- a/gui/gdmcomm.c
+++ b/gui/gdmcomm.c
@@ -352,6 +352,7 @@ gdmcomm_get_auth_cookie (void)
cmd = g_strdup_printf (GDM_SUP_AUTH_LOCAL " %s", buffer);
ret = gdmcomm_call_gdm (cmd, NULL /* auth cookie */, "2.2.4.0", 5);
+ g_free (cmd);
if (ret != NULL &&
strcmp (ret, "OK") == 0) {
g_free (ret);