24 lines
574 B
Diff
24 lines
574 B
Diff
From 18f113cc4609e00c4f95072dbe954174f2c29be1 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Bershatsky <d.bershatsky2@skoltech.ru>
|
|
Date: Wed, 12 Jun 2024 19:26:45 +0300
|
|
Subject: [PATCH] libsubid: Dealocate memory on exit
|
|
|
|
---
|
|
src/getsubids.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/getsubids.c b/src/getsubids.c
|
|
index fb645b19..0753abd7 100644
|
|
--- a/src/getsubids.c
|
|
+++ b/src/getsubids.c
|
|
@@ -45,5 +45,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;
|
|
}
|
|
--
|
|
2.27.0
|
|
|