Skip to content

Commit db27a84

Browse files
Leonardo Alminanaedsiper
authored andcommitted
tests: internal: signv4: fixed leak
Signed-off-by: Leonardo Alminana <[email protected]>
1 parent 58c1330 commit db27a84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/internal/signv4.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ static struct request *http_request_create(char *request)
187187
start = sep + 1;
188188
br = strchr(start, '\n');
189189
if (!br) {
190+
flb_sds_destroy(key);
191+
190192
break;
191193
}
192194

0 commit comments

Comments
 (0)