mirror of http://gerrit.asterisk.org/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: Ife31d4b510ebab41cb5477fdc7ea4e3138ca8b4fchanges/22/14722/2
parent
dd739f8a08
commit
46fb9fb663
Loading…
Reference in new issue