summaryrefslogtreecommitdiff
path: root/src/libotutil/ot-unix-utils.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-07-07 12:27:44 -0400
committerColin Walters <walters@verbum.org>2013-07-07 12:27:44 -0400
commit4b170d656c1b676929f5744448bafc250f3ad5dc (patch)
treeec19498a18bd7e817d15f940bf434cb17f711761 /src/libotutil/ot-unix-utils.c
parentbb6eedfb258d3001f61c42c7e920c03dae2bdc1a (diff)
downloadostree-4b170d656c1b676929f5744448bafc250f3ad5dc.tar.gz
Switch to libgsystem local allocation macros
And drop our compatibility wrapper.
Diffstat (limited to 'src/libotutil/ot-unix-utils.c')
-rw-r--r--src/libotutil/ot-unix-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libotutil/ot-unix-utils.c b/src/libotutil/ot-unix-utils.c
index 032b497a..54c5ac14 100644
--- a/src/libotutil/ot-unix-utils.c
+++ b/src/libotutil/ot-unix-utils.c
@@ -47,7 +47,7 @@ ot_util_spawn_pager (GOutputStream **out_stream,
char *argv[2];
int stdin_fd;
pid_t pid;
- ot_lfree GOutputStream *ret_stream = NULL;
+ gs_free GOutputStream *ret_stream = NULL;
if (!isatty (1))
{
@@ -134,7 +134,7 @@ ot_util_path_split_validate (const char *path,
{
gboolean ret = FALSE;
int i;
- ot_lptrarray GPtrArray *ret_components = NULL;
+ gs_unref_ptrarray GPtrArray *ret_components = NULL;
if (strlen (path) > PATH_MAX)
{