Browse Source

add missing return value

Cédric Augonnet 15 years ago
parent
commit
6695f1a415
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/datawizard/memalloc.c

+ 2 - 0
src/datawizard/memalloc.c

@@ -414,6 +414,8 @@ static size_t liberate_potentially_in_use_mc(uint32_t node, unsigned force)
 			liberated += do_free_mem_chunk(mc, node);
 		}
 	}
+
+	return liberated;
 }
 
 /*