X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fmemory.c;h=1babfe9fcae4d80b9ef1b094b4cabf70db12c54a;hb=945cad7fb1f37dcf68cab62ccf72970bcd12fa50;hp=779860ebc93ce573d16c753b5184844347fb0580;hpb=0d085684619be0baef309957a3d7410a23cb5f27;p=openvswitch diff --git a/lib/memory.c b/lib/memory.c index 779860eb..1babfe9f 100644 --- a/lib/memory.c +++ b/lib/memory.c @@ -119,6 +119,7 @@ compose_report(const struct simap *usage, struct ds *s) ds_put_format(s, "%s:%u ", node->name, node->data); } ds_chomp(s, ' '); + free(nodes); } /* Logs the contents of 'usage', as a collection of name-count pairs.