Fix memory leak.
authorMartin Brejcha <martin.brejcha@acision.com>
Sun, 16 Nov 2014 17:04:40 +0000 (17:04 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 6 Jan 2015 16:49:36 +0000 (16:49 +0000)
commitbe6e766953c2a8bb62a9c4423c7f6ce9460bc83f
tree315f2574003fd022664c27fac7c779cde80a451a
parent8dc461eccfec6d4d3b5e55d0cb9a7ce3e546d380
Fix memory leak.

Fix memory leak by freeing up saved_message.data if it is not NULL.

PR#3489
Reviewed-by: Stephen Henson <steve@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 41cd41c4416f545a18ead37e09e437c75fa07c95)
crypto/bio/bss_dgram.c