Skip to content

Commit

Permalink
ra: do not free null pointer (#1584)
Browse files Browse the repository at this point in the history
Signed-off-by: Zero King <[email protected]>
  • Loading branch information
l2dy authored and edsiper committed Sep 24, 2019
1 parent 2622672 commit 5477ae6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/record_accessor/flb_ra_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ struct flb_ra_parser *flb_ra_parser_meta_create(char *str, int len)
s = flb_sds_create_len(str, len);
if (!s) {
flb_errno();
flb_free(s);
flb_ra_parser_destroy(rp);
return NULL;
}
Expand Down

0 comments on commit 5477ae6

Please sign in to comment.