aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib')
-rw-r--r--nx-X11/lib/X11/XlcDL.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/XlcDL.c b/nx-X11/lib/X11/XlcDL.c
index 75e193c05..79e8a2f8d 100644
--- a/nx-X11/lib/X11/XlcDL.c
+++ b/nx-X11/lib/X11/XlcDL.c
@@ -216,7 +216,8 @@ Limit the length of path to prevent stack buffer corruption.
xi18n_objects_list = (XI18NObjectsList)
Xrealloc(xi18n_objects_list,
sizeof(XI18NObjectsListRec) * lc_len);
- if (!xi18n_objects_list) return;
+ if (!xi18n_objects_list)
+ goto done;
}
n = parse_line(p, args, 6);
@@ -244,6 +245,7 @@ Limit the length of path to prevent stack buffer corruption.
lc_count++;
}
}
+ done:
fclose(fp);
}