We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a9999e commit 89c8411Copy full SHA for 89c8411
libde265/image.cc
@@ -55,6 +55,7 @@ static inline void *ALLOC_ALIGNED(size_t alignment, size_t size) {
55
if (posix_memalign(&mem, alignment, size) != 0) {
56
return NULL;
57
}
58
+ memset(mem, 0, size);
59
return mem;
60
};
61
#define FREE_ALIGNED(mem) free((mem))
0 commit comments