X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-websock.c;h=df835d69313b8f30c47ec2c95798527fdf2c67b1;hb=65353dce81a629e042800bb7b86fcd869a76727e;hp=fdfca9d73701827dee8a696e318e43de36f6dd4b;hpb=1fca4b9b36dc1bb3c5ee7ec1ce6b5d74ffbfe29c;p=src%2Fapp-framework-binder.git diff --git a/src/afb-websock.c b/src/afb-websock.c index fdfca9d7..df835d69 100644 --- a/src/afb-websock.c +++ b/src/afb-websock.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017, 2018 "IoT.bzh" + * Copyright (C) 2015-2020 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -158,7 +158,9 @@ static void upgrade_to_websocket( close_websocket(urh); } } +#if MHD_VERSION <= 0x00095900 afb_hreq_unref(memo->hreq); +#endif free(memo); }