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: Ife31d4b510ebab41cb5477fdc7ea4e3138ca8b4fpull/29/head
parent
e8c2ce2873
commit
048b12b59d
Loading…
Reference in new issue