commit | 1f680abb7da6994ed7073d52fca2dadc103e5fe4 | [log] [tgz] |
---|---|---|
author | Paulo Roberto Urio <paulourio@gmail.com> | Mon Jun 04 08:40:28 2012 +0800 |
committer | Andy Green <andy.green@linaro.org> | Mon Jun 04 08:40:28 2012 +0800 |
tree | f8428c55da519cf72236e25b12061985d0528d94 | |
parent | d1db83c6508e2a856156e2500def5392a9a6d788 [diff] |
Fixed segfault in libwebsocket_context_destroy. When creating a context with NULL extensions list, a segmentation fault was yelled when trying to destroy the context. This checks if the extension list is NULL before go through the list. Signed-off-by: Paulo Roberto Urio <paulourio@gmail.com>