diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-06-25 15:49:20 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-06-25 15:49:20 +0000 |
commit | fe9441f601347a780ae356cd935aef2d37b824ee (patch) | |
tree | 60b5ba44d88c627c679fee814c9860e15ec76646 /lt~obsolete.m4 | |
parent | 2c40eaebf8d01330b1ee59a262d651fbd5192f32 (diff) | |
download | gdb-fe9441f601347a780ae356cd935aef2d37b824ee.zip gdb-fe9441f601347a780ae356cd935aef2d37b824ee.tar.gz gdb-fe9441f601347a780ae356cd935aef2d37b824ee.tar.bz2 |
Fix a memory leak found by Hui Zhu <teawater@gmail.com>.
* c-exp.y (parse_number): Move the S and SAVED_CHAR initialization
after the DECFLOAT detection to fix a memory leak. Remove the
redundant NUM initialization. Protect the DECFLOAT detection memory
access before the P block. Restore the P memory content for the
DECFLOAT detection.
Diffstat (limited to 'lt~obsolete.m4')
0 files changed, 0 insertions, 0 deletions