Commit 8e74fbf3 authored by Philip Withnall's avatar Philip Withnall

gnetworkaddress: Fix minor memory leak

From commit 99b792fa.

Spotted by Coverity; CID 1385719.
Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
parent 1c0bed93
......@@ -702,6 +702,8 @@ _g_uri_parse_authority (const char *uri,
*port = (guint16) tmp;
}
g_free (ascii_uri);
return TRUE;
error:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment