diff --git a/gio/gdbusdaemon.c b/gio/gdbusdaemon.c index 73b854722..1345d01e4 100644 --- a/gio/gdbusdaemon.c +++ b/gio/gdbusdaemon.c @@ -1498,7 +1498,7 @@ g_dbus_daemon_finalize (GObject *object) if (daemon->tmpdir) { - rmdir (daemon->tmpdir); + g_rmdir (daemon->tmpdir); g_free (daemon->tmpdir); }