diff options
author | Aaron Bockover <abockover@novell.com> | 2010-01-28 00:01:37 +0300 |
---|---|---|
committer | Aaron Bockover <abockover@novell.com> | 2010-01-28 00:01:37 +0300 |
commit | a4356d9c11609f0f9c565874cd0908c98f528ac4 (patch) | |
tree | 94914c2e36fe0fc294a008f40092e2fe08186d5b /packages | |
parent | a335faaa25306b9e40fe19215ba5efb563080679 (diff) |
[bundle] use g_strdup since name will be freed
Diffstat (limited to 'packages')
-rw-r--r-- | packages/patches/mono-runtime-relocation.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/patches/mono-runtime-relocation.patch b/packages/patches/mono-runtime-relocation.patch index 31f5ae2..3261bbd 100644 --- a/packages/patches/mono-runtime-relocation.patch +++ b/packages/patches/mono-runtime-relocation.patch @@ -52,7 +52,7 @@ index 1e7f733..ce37e8e 100644 + + name = NULL; + if (_NSGetExecutablePath (buf, &buf_size) == 0) { -+ name = buf; ++ name = g_strdup (buf); + } + + if (name == NULL) { |