mirror of https://github.com/asterisk/asterisk
If we don't set this to -1 if the structure can be potentially re-used later then it's possible that we'll issue a close() on an unrelated file descriptor, breaking asterisk in other interesting ways. I believe this to be an unlikely scenario, but it costs nothing to be safe. Signed-off-by: Jaco Kroon <jaco@uls.co.za>pull/38/head
parent
84b48b6af1
commit
4e657b6181
Loading…
Reference in new issue