projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02b0fa5
)
update_desktop_file_entry: use _dbus_strdup for something we'll dbus_free
author
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Fri, 14 Jan 2011 17:59:10 +0000
(17:59 +0000)
committer
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Wed, 16 Feb 2011 14:47:08 +0000
(14:47 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33126
bus/activation.c
patch
|
blob
|
history
diff --git
a/bus/activation.c
b/bus/activation.c
index
ee5efa8
..
0721704
100644
(file)
--- 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 */
{