diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2013-02-15 13:51:54 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2013-02-15 13:51:54 +0000 |
commit | 2f10c3e258216a4694be7302c4a039b26be832bf (patch) | |
tree | 0cc5ddc89809341208b405e0e4b030b820ac614f /buffer.c | |
parent | a1ba2d1ca3a1d6c9c36a79a196dd3ccb83ede353 (diff) | |
download | src-test2-2f10c3e258216a4694be7302c4a039b26be832bf.tar.gz src-test2-2f10c3e258216a4694be7302c4a039b26be832bf.zip |
Notes
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -140,7 +140,8 @@ ldns_buffer_free(ldns_buffer *buffer) return; } - LDNS_FREE(buffer->_data); + if (!buffer->_fixed) + LDNS_FREE(buffer->_data); LDNS_FREE(buffer); } |