summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/dbindex.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/dbindex.c b/lib/dbindex.c
index 3d591002d..0f590b6bb 100644
--- a/lib/dbindex.c
+++ b/lib/dbindex.c
@@ -81,7 +81,6 @@ int dbiSearchIndex(dbiIndex * dbi, const char * str, dbiIndexSet * set) {
return 1;
}
- set->recs = data.data;
set->recs = malloc(data.size);
memcpy(set->recs, data.data, data.size);
set->count = data.size / sizeof(dbiIndexRecord);