diff options
author | Thomas White <taw@physics.org> | 2015-10-07 12:07:45 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-10-07 12:07:45 +0200 |
commit | 478c76bc45ae1a7cbb7be1f10306a0ae985a41b6 (patch) | |
tree | 6d796e232b5333ca9cb63bf430e5d4eff9f4af28 /src/dw-hdfsee.c | |
parent | 3ce892d22b4658b2d8edbff339322fb80b9f798d (diff) | |
parent | faef0b78ac34d0ea2cdc98f7137b504aac94e9d5 (diff) |
Merge branch 'master' into tom/imagedata
Diffstat (limited to 'src/dw-hdfsee.c')
-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; } |