aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-01-19 11:45:35 +0200
committerLasse Collin <lasse.collin@tukaani.org>2011-01-19 11:45:35 +0200
commit9d542ceebcbe40b174169c132ccfcdc720ca7089 (patch)
tree5ed9f931225122af289863e6d53aceb2f1013f0a /src/liblzma
parentMerge branch 'v5.0' (diff)
parentUpdated THANKS. (diff)
downloadxz-9d542ceebcbe40b174169c132ccfcdc720ca7089.tar.xz
Merge branch 'v5.0'
Diffstat (limited to 'src/liblzma')
-rw-r--r--src/liblzma/common/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/common.h b/src/liblzma/common/common.h
index 3a85168f..b8194323 100644
--- a/src/liblzma/common/common.h
+++ b/src/liblzma/common/common.h
@@ -205,7 +205,7 @@ struct lzma_internal_s {
/// Allocates memory
extern void *lzma_alloc(size_t size, lzma_allocator *allocator)
- lzma_attribute((malloc));
+ lzma_attribute((malloc)) lzma_attr_alloc_size(1);
/// Frees memory
extern void lzma_free(void *ptr, lzma_allocator *allocator);