libsmb: Remove a duplicate TALLOC_FREE()
authorVolker Lendecke <vl@samba.org>
Wed, 16 Aug 2023 13:45:32 +0000 (15:45 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 22 Aug 2023 16:45:31 +0000 (16:45 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/climessage.c

index fd21681ec72538b8cc952b7e20377c8aee46d4e6..80196bc851951da34efbd114cabd3732fcf1c04d 100644 (file)
@@ -101,7 +101,6 @@ static void cli_message_start_done(struct tevent_req *subreq)
                              NULL, NULL);
        TALLOC_FREE(subreq);
        if (!NT_STATUS_IS_OK(status)) {
-               TALLOC_FREE(subreq);
                tevent_req_nterror(req, status);
                return;
        }