mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-08 19:50:34 +01:00
update_desktop_file_entry: use _dbus_strdup for something we'll dbus_free
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33126
This commit is contained in:
parent
02b0fa5792
commit
fb704ba78f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue