diff --git a/source/blender/blenlib/intern/util.c b/source/blender/blenlib/intern/util.c index 2bd36658abc..ea666be3e45 100644 --- a/source/blender/blenlib/intern/util.c +++ b/source/blender/blenlib/intern/util.c @@ -871,7 +871,7 @@ void BLI_where_am_i(char *fullname, char *name) char* BLI_getbundle(void) { CFURLRef bundleURL; CFStringRef pathStr; - char path[MAXPATHLEN]; + static char path[MAXPATHLEN]; CFBundleRef mainBundle = CFBundleGetMainBundle(); bundleURL = CFBundleCopyBundleURL(mainBundle);