mirror of https://github.com/asterisk/asterisk
The assumed behavior of realloc() - that it was effectively a free() if its second argument was 0 - is Linux specific behavior and is not guaranteed by either POSIX or the C specification. Instead, if we want to resize a vector to 0, do it explicitly. Change-Id: Ife31d4b510ebab41cb5477fdc7ea4e3138ca8b4f16.13
parent
1e58da7814
commit
abad395098
Loading…
Reference in new issue