Thread (3 messages) 3 messages, 3 authors, 2015-08-25

Re: [PATCH v2] btrfs-progs: fix memory leaks in error path

From: David Sterba <hidden>
Date: 2015-08-25 15:41:26

On Fri, Aug 21, 2015 at 05:51:52PM +0900, Byongho Lee wrote:
This patch includes below fixes in error path:
1. fix memory leaks if realloc() fails
2. add missing call free_history() before return error in scrub_read_file()

Signed-off-by: Byongho Lee <redacted>
---
changelog:
v2:
  Add one more fix for memory leak when realloc() fails by Zhao Lei's comment.
Sorry I missed the v2, patch updated with Zhao Lei's reviewed-by.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help