libnm/tests: fix memleak in test

This commit is contained in:
Thomas Haller 2017-12-08 08:48:02 +01:00
parent d5d4911b58
commit af6f62be8d

View file

@ -1134,7 +1134,7 @@ _test_team_port_config_sync (const char *team_port_config,
int lacp_key,
GPtrArray *link_watchers)
{
NMSettingTeamPort *s_team_port;
gs_unref_object NMSettingTeamPort *s_team_port = NULL;
guint i, j;
gboolean found;