diff options
Diffstat (limited to 'jffs2reader.c')
-rw-r--r-- | jffs2reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jffs2reader.c b/jffs2reader.c index 5231ff0..a62da9a 100644 --- a/jffs2reader.c +++ b/jffs2reader.c @@ -694,7 +694,7 @@ struct jffs2_raw_dirent *resolvepath0(char *o, size_t size, uint32_t ino, return NULL; } - pp = path = strdup(p); + pp = path = xstrdup(p); if (*path == '/') { path++; |