mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 07:38:54 +02:00
gnetworkaddress: Fix minor memory leak
From commit 99b792fac0
.
Spotted by Coverity; CID 1385719.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
@@ -702,6 +702,8 @@ _g_uri_parse_authority (const char *uri,
|
|||||||
*port = (guint16) tmp;
|
*port = (guint16) tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_free (ascii_uri);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
Reference in New Issue
Block a user