core: Ad ot_clear_gvariant(), use it

This saves us a conditional.
This commit is contained in:
Colin Walters committed 2011-11-22 10:20:10 -05:00
1 parent 43ae898f65
commit 3c025e526f
12 files changed
+85 -143

No files matched your search

+1 -2
View File
@@ -113,8 +113,7 @@ op_return (OstreeDaemon *self,
ret = TRUE;
operation_free (op);
if (args)
g_variant_unref (args);
ot_clear_gvariant (&args);
return ret;
}