summaryrefslogtreecommitdiff
path: root/bus/activation.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-01-14 17:59:10 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-02-16 14:47:08 +0000
commitfb704ba78fd1900e36b0bd8f79dafc9bd09dce6e (patch)
tree7716e5ed6d5b54315ee37c28187095e9f8189a9a /bus/activation.c
parent02b0fa5792b50ca340508301ced17f100d22a8d4 (diff)
downloaddbus-fb704ba78fd1900e36b0bd8f79dafc9bd09dce6e.tar.gz
update_desktop_file_entry: use _dbus_strdup for something we'll dbus_free
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33126
Diffstat (limited to 'bus/activation.c')
-rw-r--r--bus/activation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/activation.c b/bus/activation.c
index ee5efa8e..0721704f 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 */
{