mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-08 08:43:05 +02:00
gnetworkaddress: Fix minor memory leak
From commit 99b792fac047b2f495d83ca0a1c1a481ed838251. Spotted by Coverity; CID 1385719. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
1c0bed93a3
commit
8e74fbf300
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user