summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2018-08-30 21:14:50 +1200
committerRobert Ancell <robert.ancell@canonical.com>2018-08-30 21:14:52 +1200
commit6b98b30199e7a12c48a27c3a31171b02bf0d4de5 (patch)
tree7cd35ec43971e8b2b080a369be13155bbddda3c2
parent23a85d21ebeba86339f285a3f4ce3c31a21156f1 (diff)
downloadlightdm-git-6b98b30199e7a12c48a27c3a31171b02bf0d4de5.tar.gz
Fix double free of GVariantIter
Bug introduced in a95eded63
-rw-r--r--src/dm-tool.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dm-tool.c b/src/dm-tool.c
index 5060109f..365a7a81 100644
--- a/src/dm-tool.c
+++ b/src/dm-tool.c
@@ -353,9 +353,7 @@ main (int argc, char **argv)
g_print (" %s=%s\n", property_names[i], g_variant_print (value, FALSE));
}
}
- g_variant_iter_free (session_iter);
}
- g_variant_iter_free (seat_iter);
return EXIT_SUCCESS;
}