Yet more memory leaks.
[pspp-builds.git] / src / language / stats / chisquare.c
index 6b0b0567257bd80d5b812a96438464e8fc4bf75f..1b8392724db880a3fdae76187a9e4b2a08ccbe57 100644 (file)
@@ -194,6 +194,8 @@ create_variable_frequency_table (const struct dictionary *dict,
          test->n_expected, n_cells,
          var_get_name (var)
          );
+      hsh_destroy (*freq_hash);
+      *freq_hash = NULL;
       return NULL;
     }