libsubid: Add routine to free allocated memory

This commit is contained in:
Daniel Bershatsky
2024-06-11 01:12:45 +03:00
committed by Alejandro Colomar
parent 18f113cc46
commit 0217516349
7 changed files with 48 additions and 1 deletions
+1 -1
View File
@@ -44,6 +44,6 @@ int main(int argc, char *argv[])
printf("%d: %s %lu %lu\n", i, owner,
ranges[i].start, ranges[i].count);
}
free(ranges);
subid_free(ranges);
return 0;
}