diff options
author | Jim Meyering <meyering@redhat.com> | 2012-08-09 14:29:57 +0200 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-08-19 09:42:00 -0700 |
commit | d22726cf8a76167acd63a9af7233b798a1e484f2 (patch) | |
tree | 36f908f1a1c14a628fec13ccb4b0ffe0d3c95690 /xlators/features | |
parent | 602b0193775bc78768390be08488c3b0aa5601fb (diff) |
utils: don't leak after failed GF_REALLOC
This is primarily to avoid a leak upon failed GF_REALLOC
when glusterd_readin_file reads a file that is too large.
Also, remove unnecessary memset-0 of PATH_MAX+256-byte buffer.
Change-Id: Id06bd5faef024e1d865f6f0f56bfbb837c9c6168
BUG: 846755
Signed-off-by: Jim Meyering <meyering@redhat.com>
Reviewed-on: http://review.gluster.com/3804
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/features')
0 files changed, 0 insertions, 0 deletions