sources/counter.c: fix memory leak (#558)

found by cppcheck
This commit is contained in:
Ilya Shipitsin 2024-02-06 11:38:45 +01:00 committed by GitHub
parent 4b9793b6e1
commit 72c54698c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ od_bucket_t *od_bucket_create(void)
return b;
}
free(b);
return NULL;
}