diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dw-hdfsee.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index 77b58a7c..026dc984 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -2372,7 +2372,7 @@ static GtkWidget *displaywindow_addhdfgroup(struct hdfile *hdfile, if ( hdfile_is_scalar(hdfile, names[i], 0) ) { tmp = hdfile_get_string_value(hdfile, names[i], - NULL); + NULL); } else { tmp = NULL; } @@ -2399,6 +2399,7 @@ static GtkWidget *displaywindow_addhdfgroup(struct hdfile *hdfile, free(is_group); free(is_image); + free(names); return ms; } |