summaryrefslogtreecommitdiff
path: root/src/fr-command-rar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-command-rar.c')
-rw-r--r--src/fr-command-rar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fr-command-rar.c b/src/fr-command-rar.c
index 2aa0eee..31c95c1 100644
--- a/src/fr-command-rar.c
+++ b/src/fr-command-rar.c
@@ -152,6 +152,9 @@ parse_name_field (char *line,
else
name_field = g_strdup (line + 1);
+ if (name_field == NULL)
+ return;
+
if (*name_field == '/') {
fdata->full_path = g_strdup (name_field);
fdata->original_path = fdata->full_path;