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:49 +0000 (16:49 +0000)
commit61052e891e0686ac3b08dd3b0e0b20fd4c786cc4
tree0873aaba7d837c210f9784c264a4fc01513c01fe
parentcb951e336bafb0f98896e12fda41af6b6eef5fb2
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