diff options
author | Igor Babaev <igor@askmonty.org> | 2012-08-14 12:42:14 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2012-08-14 12:42:14 -0700 |
commit | 822e5da0d069e6567713464e7492097fab33e55d (patch) | |
tree | acfd13bd545ee4d5fe2209922827588be09b6e42 /mysys/mf_iocache2.c | |
parent | 3116e3ad6164c96edc2a27c3438f325c4dc464f3 (diff) | |
parent | 7cc2f8decabe83fb304458748ba907f011848309 (diff) | |
download | mariadb-git-822e5da0d069e6567713464e7492097fab33e55d.tar.gz |
Merge 5.5->5.5-mwl248
Diffstat (limited to 'mysys/mf_iocache2.c')
-rw-r--r-- | mysys/mf_iocache2.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mysys/mf_iocache2.c b/mysys/mf_iocache2.c index 3c23d0737e7..6c7cd9a7e84 100644 --- a/mysys/mf_iocache2.c +++ b/mysys/mf_iocache2.c @@ -433,7 +433,11 @@ process_flags: memset(buffz, '0', minimum_width - length2); else memset(buffz, ' ', minimum_width - length2); - my_b_write(info, buffz, minimum_width - length2); + if (my_b_write(info, buffz, minimum_width - length2)) + { + my_afree(buffz); + goto err; + } my_afree(buffz); } |