Skip to contentSkip to conversation

rpc.idmapd: Do not free config varibles

PATCH In review Steve Dickson 1 participant 2 messages Sep 4, 2020 – Sep 8, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rpc.idmapd: Do not free config varibles

Commit 93e8f092e added a conf_cleanup() call to clean up memory after the config file was parsed. It turns out that memory still needed and it is not very much so the call is removed.

---
 utils/idmapd/idmapd.c | 3 ---
 1 file changed, 3 deletions(-)
utils/idmapd/idmapd.c +0 -3
index f3d2314..51c71fb 100644
@@ -306,9 +306,6 @@ main(int argc, char **argv)
 			serverstart = 0;
 	}
 
-	/* Config memory is no longer needed */
-	conf_cleanup();
-
 	while ((opt = getopt(argc, argv, GETOPTSTR)) != -1)
 		switch (opt) {
 		case 'v':
Signature · 1 line
2.26.2
#1 lore raw
Quoted 8 lines · Steve Dickson

Commit 93e8f092e added a conf_cleanup() call to clean up memory after the config file was parsed. It turns out that memory still needed and it is not very much so the call is removed.

Committed...

steved.

Quoted 19 lines
---
 utils/idmapd/idmapd.c | 3 ---
 1 file changed, 3 deletions(-)
utils/idmapd/idmapd.c +0 -3
index f3d2314..51c71fb 100644
@@ -306,9 +306,6 @@ main(int argc, char **argv)
 			serverstart = 0;
 	}
 
-	/* Config memory is no longer needed */
-	conf_cleanup();
-
 	while ((opt = getopt(argc, argv, GETOPTSTR)) != -1)
 		switch (opt) {
 		case 'v':