diff --git a/src/app-layer-htp.c b/src/app-layer-htp.c index 97c4ada3f4..3b8baae4b6 100644 --- a/src/app-layer-htp.c +++ b/src/app-layer-htp.c @@ -2335,6 +2335,7 @@ static int HTPCallbackRequestLine(htp_tx_t *tx) tx_ud = htp_tx_get_user_data(tx); if (unlikely(tx_ud == NULL)) { + bstr_free(request_uri_normalized); return HTP_OK; } if (unlikely(tx_ud->request_uri_normalized != NULL))