about summary refs log tree commit diff
path: root/src/main-utils.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2020-05-19 16:38:36 +0200
committerSebastien Bacher <seb128@ubuntu.com>2020-05-19 17:09:07 +0200
commitccf6dc06bbee82c3d49f451545c5317337e0777e (patch)
treea8fddc8c6e2b3b99bebab1d5bb2a64581eff4bfd /src/main-utils.c
parentf109e55ef130ce84054d5ba3acf4b71cd8c7564a (diff)
parent7ffed1e6136de75188f10ba8763bcb942f932f8e (diff)
Merge remote-tracking branch 'salsa/debian/master' into ubuntu/master
Diffstat (limited to 'src/main-utils.c')
-rw-r--r--src/main-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main-utils.c b/src/main-utils.c
index 80222495..e17feb41 100644
--- a/src/main-utils.c
+++ b/src/main-utils.c
@@ -185,7 +185,7 @@ nm_main_utils_ensure_not_running_pidfile (const char *pidfile)
 	if (pid <= 0 || pid > 65536 || errno)
 		return;
 
-	g_clear_pointer (&contents, g_free);
+	nm_clear_g_free (&contents);
 	proc_cmdline = g_strdup_printf ("/proc/%ld/cmdline", pid);
 	if (!g_file_get_contents (proc_cmdline, &contents, &len, NULL))
 		return;