[PATCH] libosmocore[master]: bssgp_fc_test: sanitize: free fc struct when done

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Nov 17 00:27:53 UTC 2017


Review at  https://gerrit.osmocom.org/4873

bssgp_fc_test: sanitize: free fc struct when done

Helps fix sanitizer build on debian 9.

Change-Id: I0ef95ee8185a4789f0732b9420243dda5104d181
---
M tests/gb/bssgp_fc_test.c
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/73/4873/1

diff --git a/tests/gb/bssgp_fc_test.c b/tests/gb/bssgp_fc_test.c
index 98e17cc..ac690a5 100644
--- a/tests/gb/bssgp_fc_test.c
+++ b/tests/gb/bssgp_fc_test.c
@@ -104,6 +104,8 @@
 		if (llist_empty(&fc->queue))
 			break;
 	}
+
+	talloc_free(fc);
 }
 
 static void help(void)

-- 
To view, visit https://gerrit.osmocom.org/4873
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0ef95ee8185a4789f0732b9420243dda5104d181
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list