---
src/lib/libintl/gettext.c | 54 ++++++++++++++++++-----------------------------
1 file changed, 21 insertions(+), 33 deletions(-)
diff --git a/src/lib/libintl/gettext.c b/src/lib/libintl/gettext.c
index 6591422..479b4be 100644
--- a/src/lib/libintl/gettext.c
+++ b/src/lib/libintl/gettext.c
@@ -661,12 +661,12 @@ free_sysdep_table(struct mosysdepstr_h **table, uint32_t nstring)
{
uint32_t i;
+ if (! table)
+ return;
+
for (i=0; i<nstring; i++) {
- if (table[i]) {
- if (table[i]->expanded)
- free(table[i]->expanded);
- free(table[i]);
- }
+ free(table[i]->expanded);