diff options
author | Colin Walters <walters@verbum.org> | 2013-07-07 12:27:44 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-07-07 12:27:44 -0400 |
commit | 4b170d656c1b676929f5744448bafc250f3ad5dc (patch) | |
tree | ec19498a18bd7e817d15f940bf434cb17f711761 /src/ostree/ot-builtin-config.c | |
parent | bb6eedfb258d3001f61c42c7e920c03dae2bdc1a (diff) | |
download | ostree-4b170d656c1b676929f5744448bafc250f3ad5dc.tar.gz |
Switch to libgsystem local allocation macros
And drop our compatibility wrapper.
Diffstat (limited to 'src/ostree/ot-builtin-config.c')
-rw-r--r-- | src/ostree/ot-builtin-config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ostree/ot-builtin-config.c b/src/ostree/ot-builtin-config.c index cac751da..2165b0c7 100644 --- a/src/ostree/ot-builtin-config.c +++ b/src/ostree/ot-builtin-config.c @@ -60,9 +60,9 @@ ostree_builtin_config (int argc, char **argv, GFile *repo_path, GError **error) const char *op; const char *section_key; const char *value; - ot_lobj OstreeRepo *repo = NULL; - ot_lfree char *section = NULL; - ot_lfree char *key = NULL; + gs_unref_object OstreeRepo *repo = NULL; + gs_free char *section = NULL; + gs_free char *key = NULL; GKeyFile *config = NULL; context = g_option_context_new ("- Change configuration settings"); @@ -107,7 +107,7 @@ ostree_builtin_config (int argc, char **argv, GFile *repo_path, GError **error) else if (!strcmp (op, "get")) { GKeyFile *readonly_config = NULL; - ot_lfree char *value = NULL; + gs_free char *value = NULL; if (argc < 3) { g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, |