From a4356d9c11609f0f9c565874cd0908c98f528ac4 Mon Sep 17 00:00:00 2001 From: Aaron Bockover Date: Wed, 27 Jan 2010 16:01:37 -0500 Subject: [bundle] use g_strdup since name will be freed --- packages/patches/mono-runtime-relocation.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') 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) { -- cgit v1.2.3