diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-30 10:21:35 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-30 10:21:35 +0000 |
commit | 5c0369ba971fb010411b93caeb9e54d0e498f34b (patch) | |
tree | fdb978e8f1ce08fd047e3a2355cfb03b2f790e67 /asn1/spnego | |
parent | 55f080c9c80c6ced05fb66126866bc6b50ff344c (diff) |
Apply r30376 to asn1 template files.
svn path=/trunk/; revision=30767
Diffstat (limited to 'asn1/spnego')
-rw-r--r-- | asn1/spnego/packet-spnego-template.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/asn1/spnego/packet-spnego-template.c b/asn1/spnego/packet-spnego-template.c index 527d6fcd71..608edf1b0d 100644 --- a/asn1/spnego/packet-spnego-template.c +++ b/asn1/spnego/packet-spnego-template.c @@ -719,8 +719,7 @@ decrypt_gssapi_krb_cfx_wrap(proto_tree *tree _U_, packet_info *pinfo _U_, tvbuff if (output) { char *outdata; - outdata = g_malloc(tvb_length(tvb)); - memcpy(outdata, output, tvb_length(tvb)); + outdata = g_memdup(output, tvb_length(tvb)); g_free(output); pinfo->gssapi_decrypted_tvb=tvb_new_child_real_data(tvb, |