From b47cdc3c2698d27b76da438eecc2789685d2774f Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 12 Jan 2013 14:25:51 +0100 Subject: [PATCH] Gnumeric Reader: Set dictionary to NULL on error --- src/data/gnumeric-reader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/data/gnumeric-reader.c b/src/data/gnumeric-reader.c index 4ddd80be00..29f7ae517f 100644 --- a/src/data/gnumeric-reader.c +++ b/src/data/gnumeric-reader.c @@ -487,6 +487,7 @@ gnumeric_open_reader (struct spreadsheet_read_info *gri, struct dictionary **dic free (var_spec); dict_destroy (*dict); + *dict = NULL; gnm_file_casereader_destroy (NULL, r); -- 2.30.2