diff options
author | ed <ed@FreeBSD.org> | 2013-05-25 12:11:20 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2013-05-25 12:11:20 +0000 |
commit | 3f589c4a65061002236515a5e50d5eafb6c1f50f (patch) | |
tree | b6a6a45af9327825d9d6ad49d93b139fbec4d870 /tools/regression/lib/libc/resolv/resolv.c | |
parent | 987739080987bee39127ec6c8175ca15e60a57d9 (diff) | |
download | FreeBSD-src-3f589c4a65061002236515a5e50d5eafb6c1f50f.zip FreeBSD-src-3f589c4a65061002236515a5e50d5eafb6c1f50f.tar.gz |
Only call free() on something we allocated.
If we were already provided a struct _citrus_iconv (e.g. through
iconv_open_into()), we should not call free() in case io_init_context()
fails. Instead, call it on the pointer of the allocated object, which
will be NULL in case of iconv_open_into().
Diffstat (limited to 'tools/regression/lib/libc/resolv/resolv.c')
0 files changed, 0 insertions, 0 deletions