[MERGED] 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
Mon Nov 20 16:23:09 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: bssgp_fc_test: sanitize: free fc struct when done
......................................................................


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(-)

Approvals:
  Harald Welte: Looks good to me, approved



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: merged
Gerrit-Change-Id: I0ef95ee8185a4789f0732b9420243dda5104d181
Gerrit-PatchSet: 3
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list