From 5fbf561d5abc2bad9790d0fc69a3a4d4a6f093c4 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 9 May 2016 23:38:21 +0200 Subject: [PATCH] Fix memory leak in _dbus_replace_install_prefix() on success case on Windows. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=95191 --- dbus/dbus-sysdeps-util-win.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dbus/dbus-sysdeps-util-win.c b/dbus/dbus-sysdeps-util-win.c index 1d5edc4..789bd18 100644 --- a/dbus/dbus-sysdeps-util-win.c +++ b/dbus/dbus-sysdeps-util-win.c @@ -1528,6 +1528,7 @@ _dbus_replace_install_prefix (DBusString *path) _dbus_string_set_byte (path, i, '/'); } + _dbus_string_free (&runtime_prefix); return TRUE; #endif } -- 2.6.6