Merge pull request #6890 from itamarhaber/patch-trackingGetTotalKeys

Fixes segfault on calling trackingGetTotalKeys
This commit is contained in:
Salvatore Sanfilippo 2020-02-14 16:21:24 +01:00 committed by GitHub
commit ddb80bb3d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -441,5 +441,6 @@ uint64_t trackingGetTotalItems(void) {
}
uint64_t trackingGetTotalKeys(void) {
if (TrackingTable == NULL) return 0;
return raxSize(TrackingTable);
}