[vlc-commits] darwin/dirs: Remove accidentally added strdup
Marvin Scholz
git at videolan.org
Wed Oct 4 08:25:53 CEST 2017
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Oct 4 08:25:34 2017 +0200| [2bfe1927745452c8465184a9f96dc0438a20ec6d] | committer: Marvin Scholz
darwin/dirs: Remove accidentally added strdup
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2bfe1927745452c8465184a9f96dc0438a20ec6d
---
src/darwin/dirs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/darwin/dirs.c b/src/darwin/dirs.c
index f79990d541..c80a59d5b5 100644
--- a/src/darwin/dirs.c
+++ b/src/darwin/dirs.c
@@ -138,7 +138,7 @@ static char *getAppDependentDir(vlc_userdir_t type)
}
// Default fallback
- const char *fallback = strdup("org.videolan.vlc");
+ const char *fallback = "org.videolan.vlc";
char *name = NULL;
CFBundleRef mainBundle = CFBundleGetMainBundle();
More information about the vlc-commits
mailing list