Ticket #2028 (accepted defect) — at Version 7
in-hexC-missing-check-and-g_free
Reported by: | vit_r | Owned by: | andrew_b |
---|---|---|---|
Priority: | major | Milestone: | 4.7.1 |
Component: | mc-search | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: | angel_il |
Description (last modified by andrew_b) (diff)
lib/search/hex.c
in mc_searchhex_translate_to_regex ():
- missing check of g_strdup_printf() return
- missing g_free (tmp_str);
Change History
comment:2 in reply to: ↑ 1 Changed 15 years ago by vit_r
Replying to andrew_b:
Patch contains memory leaks in lines 66 and 78.
Thanks
My fall
Hope You meant this (replaced patch)
comment:3 Changed 15 years ago by andrew_b
- Status changed from new to accepted
- Owner set to andrew_b
- severity changed from no branch to on review
Cretaed 2028_hex_search_memleak branch. Parent branch is master.
changeset:b732b6f07f2e5756003e8974499a880bd75cd2d8
comment:6 Changed 15 years ago by andrew_b
- Description modified (diff)
Fixed comment and rebased to current master.
changeset:2dab612a897a7bf23de1592c9dec68025cf2de01
Note: See
TracTickets for help on using
tickets.
Patch contains memory leaks in lines 66 and 78.