From: John Darrington <john@darrington.wattle.id.au> Date: Sat, 12 Jan 2013 13:25:51 +0000 (+0100) Subject: Gnumeric Reader: Set dictionary to NULL on error X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b47cdc3c2698d27b76da438eecc2789685d2774f;p=pspp Gnumeric Reader: Set dictionary to NULL on error --- 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);