# HG changeset patch # User Matti Hamalainen # Date 1578136775 -7200 # Node ID d28f3d5372843fd85ae8d1bfb44f4fee4bd55284 # Parent 609bfc1bd628f5ebf9c38642f74c9ced17fdeda8 Cosmetics. diff -r 609bfc1bd628 -r d28f3d537284 sidlib.c --- a/sidlib.c Sat Jan 04 13:18:55 2020 +0200 +++ b/sidlib.c Sat Jan 04 13:19:35 2020 +0200 @@ -286,7 +286,7 @@ { if (node != NULL) { - th_free_r(&node->lengths); + th_free_r(&(node->lengths)); th_free_r(&node); } } @@ -522,10 +522,10 @@ // (Re)create index // -int sidlib_sldb_build_index(SIDLibSLDB * dbh) +int sidlib_sldb_build_index(SIDLibSLDB *dbh) { // Free old index - th_free_r(&dbh->pindex); + th_free_r(&(dbh->pindex)); // Get size of db dbh->nnodes = th_llist_length((th_llist_t *) dbh->nodes);