mpg123-1.32.0
This commit is contained in:
@@ -55,7 +55,7 @@ int split_dir_file (const char *path, char **dname, char **fname)
|
||||
|
||||
if ((slashpos = strrchr(path, '/'))) {
|
||||
*fname = slashpos + 1;
|
||||
*dname = compat_strdup(path); /* , 1 + slashpos - path); */
|
||||
*dname = INT123_compat_strdup(path); /* , 1 + slashpos - path); */
|
||||
if(!(*dname)) {
|
||||
perror("failed to allocate memory for dir name");
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user