double free caused strange side effects
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 13 Jul 2009 18:28:36 +0000 (20:28 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 13 Jul 2009 18:28:36 +0000 (20:28 +0200)
src/libstrongswan/utils/identification.c

index 5c61db5..6816a7d 100644 (file)
@@ -810,7 +810,6 @@ int identification_printf_hook(char *dst, size_t len, printf_hook_spec_t *spec,
                        {       /* not printable, hex dump */
                                snprintf(buf, sizeof(buf), "%#B", &this->encoded);
                        }
-                       chunk_free(&proper);
                        break;
                case ID_PUBKEY_INFO_SHA1:
                case ID_PUBKEY_SHA1: