From: Simon McVittie Date: Fri, 14 Jan 2011 17:59:10 +0000 (+0000) Subject: update_desktop_file_entry: use _dbus_strdup for something we'll dbus_free X-Git-Tag: dbus-1.4.4~2^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb704ba78fd1900e36b0bd8f79dafc9bd09dce6e;p=thirdparty%2Fdbus.git update_desktop_file_entry: use _dbus_strdup for something we'll dbus_free Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33126 --- diff --git a/bus/activation.c b/bus/activation.c index ee5efa8e5..0721704f9 100644 --- a/bus/activation.c +++ b/bus/activation.c @@ -360,7 +360,7 @@ update_desktop_file_entry (BusActivation *activation, entry = _dbus_hash_table_lookup_string (s_dir->entries, _dbus_string_get_const_data (filename)); - exec = strdup (_dbus_replace_install_prefix (exec_tmp)); + exec = _dbus_strdup (_dbus_replace_install_prefix (exec_tmp)); if (entry == NULL) /* New file */ {