dump: Improve error handling
- Make sure memroy is allocated before using buffer
- Close ack file irrespective of write return code
Signed-off-by: Vasant Hegde <firstname.lastname@example.org>
Acked-by: Stewart Smith <email@example.com>
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.