changeset 237:d28f3d537284

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 04 Jan 2020 13:19:35 +0200
parents 609bfc1bd628
children 2ed665b74043
files sidlib.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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);