summaryrefslogtreecommitdiffstats
path: root/pcilib/property.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/property.c')
-rw-r--r--pcilib/property.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/pcilib/property.c b/pcilib/property.c
index 3a7ebb3..dfab9a6 100644
--- a/pcilib/property.c
+++ b/pcilib/property.c
@@ -225,11 +225,9 @@ pcilib_property_info_t *pcilib_get_property_list(pcilib_t *ctx, const char *bran
};
}
-
-
HASH_ITER(hh, dir_hash, dir, dir_tmp) {
- HASH_DEL(dir_hash, dir);
- free(dir);
+ HASH_DEL(dir_hash, dir);
+ free(dir);
}
HASH_CLEAR(hh, dir_hash);