Fixed a few bugs that were found by Visual Studio's static code analysis.
[mono.git] / mono / utils / mono-property-hash.c
index 8bedc6a1b9f73ae27a5d9965969994eb34b0c1e7..04318f46894801d8265c97dcd091e83c2c5bdf29 100644 (file)
@@ -36,6 +36,8 @@ void
 mono_property_hash_destroy (MonoPropertyHash *hash)
 {
        g_hash_table_foreach (hash->hashes, free_hash, NULL);
+       g_hash_table_destroy (hash->hashes);
+
        g_free (hash);
 }