Make filename_from_path() compile.
svn path=/trunk/netsurf/; revision=10264
This commit is contained in:
parent
51d619ad4d
commit
65b3dd18e3
|
@ -2457,7 +2457,7 @@ char *filename_from_path(char *path)
|
|||
leafname = malloc(leaflen + 1);
|
||||
if (!leafname) {
|
||||
LOG(("malloc failed"));
|
||||
continue;
|
||||
return NULL;
|
||||
}
|
||||
memcpy(leafname, temp, leaflen + 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue