Skip to content

Commit e27feac

Browse files
committed
Code quality fixes
Signed-off-by: Ryan Underwood <[email protected]>
1 parent 62f98ed commit e27feac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aws/flb_aws_util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ struct flb_aws_client *flb_aws_client_create()
271271
client->http_cb_ctx = flb_callback_create("aws client"); // FIXME: what name?
272272
if (!client->http_cb_ctx) {
273273
flb_errno();
274-
flb_callback_destroy(client->http_cb_ctx);
274+
flb_free(client);
275275
return NULL;
276276
}
277277
return client;

0 commit comments

Comments
 (0)