[banshee] [bundle] use g_strdup since name will be freed
- From: Aaron Bockover <abock src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [bundle] use g_strdup since name will be freed
- Date: Wed, 27 Jan 2010 21:01:58 +0000 (UTC)
commit 21742d3cd77f2fc321e1a7dd0cfc643b1ac40dd8
Author: Aaron Bockover <abockover novell com>
Date: Wed Jan 27 16:01:37 2010 -0500
[bundle] use g_strdup since name will be freed
.../packages/patches/mono-runtime-relocation.patch | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/build/bundle/packages/patches/mono-runtime-relocation.patch b/build/bundle/packages/patches/mono-runtime-relocation.patch
index 31f5ae2..3261bbd 100644
--- a/build/bundle/packages/patches/mono-runtime-relocation.patch
+++ b/build/bundle/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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]