core: Port builtins to local alloc macros

This commit is contained in:
Colin Walters committed 2012-04-09 15:57:46 -04:00
1 parent 8b6bf09d7a
commit 394fe75471
18 files changed
+291 -558

No files matched your search

+1 -2
View File
@@ -59,7 +59,7 @@ ostree_builtin_checksum (int argc, char **argv, GFile *repo_path_path, GError **
{
GOptionContext *context;
gboolean ret = FALSE;
GFile *f = NULL;
ot_lobj GFile *f = NULL;
AsyncChecksumData data;
context = g_option_context_new ("FILENAME - Checksum a file or directory");
@@ -87,7 +87,6 @@ ostree_builtin_checksum (int argc, char **argv, GFile *repo_path_path, GError **
out:
if (data.loop)
g_main_loop_unref (data.loop);
g_clear_object (&f);
if (context)
g_option_context_free (context);
return ret;