diff --git a/hs20/client/osu_client.c b/hs20/client/osu_client.c index 478d940e2..0315f7b75 100644 --- a/hs20/client/osu_client.c +++ b/hs20/client/osu_client.c @@ -542,6 +542,7 @@ int hs20_add_pps_mo(struct hs20_osu_client *ctx, const char *uri, uri); write_result(ctx, "Unsupported location for addMO to " "add PPS MO (extra directory): '%s'", uri); + free(fqdn); return -1; } *pos = '\0'; /* remove trailing slash and PPS node name */