Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/bockbuild.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bockover <abockover@novell.com>2010-01-28 00:01:37 +0300
committerAaron Bockover <abockover@novell.com>2010-01-28 00:01:37 +0300
commita4356d9c11609f0f9c565874cd0908c98f528ac4 (patch)
tree94914c2e36fe0fc294a008f40092e2fe08186d5b /packages
parenta335faaa25306b9e40fe19215ba5efb563080679 (diff)
[bundle] use g_strdup since name will be freed
Diffstat (limited to 'packages')
-rw-r--r--packages/patches/mono-runtime-relocation.patch2
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) {