libsubid: Dealocate memory on exit

This commit is contained in:
Daniel Bershatsky
2024-06-12 19:26:45 +03:00
committed by Alejandro Colomar
parent 10429edc14
commit 18f113cc46

View File

@@ -44,5 +44,6 @@ int main(int argc, char *argv[])
printf("%d: %s %lu %lu\n", i, owner,
ranges[i].start, ranges[i].count);
}
free(ranges);
return 0;
}