summaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-16 19:46:11 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-19 09:30:39 +0200
commitb04246828b57a14ed9f764385417219b5d3e825d (patch)
treea98687f8553f1f278a5a688247ef96d65ef53499 /lib/string_helpers.c
parent725b85fe44a24350c64ae816da9eb3de7245006c (diff)
downloadkernel-crypto-b04246828b57a14ed9f764385417219b5d3e825d.tar.gz
kernel-crypto-b04246828b57a14ed9f764385417219b5d3e825d.tar.xz
kernel-crypto-b04246828b57a14ed9f764385417219b5d3e825d.zip
Only set [ch]data->init = 1 on success.
Otherwise other members would be freed twice. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions