summary refs log tree commit diff
path: root/db2/common/db_salloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'db2/common/db_salloc.c')
-rw-r--r--db2/common/db_salloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/db2/common/db_salloc.c b/db2/common/db_salloc.c
index 0fa696bf7e..c02d7e18e9 100644
--- a/db2/common/db_salloc.c
+++ b/db2/common/db_salloc.c
@@ -222,11 +222,12 @@ __db_shalloc_free(regionp, ptr)
 		merged = 1;
 	}
 
-	if (!merged)
+	if (!merged) {
 		if (lastp == NULL)
 			SH_LIST_INSERT_HEAD(hp, newp, links, __data);
 		else
 			SH_LIST_INSERT_AFTER(lastp, newp, links, __data);
+	}
 }
 
 /*