more packet-kerberos-template.c
authorStefan Metzmacher <metze@samba.org>
Tue, 4 Oct 2016 19:56:57 +0000 (21:56 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 20 Jan 2019 22:14:58 +0000 (23:14 +0100)
Change-Id: I9267e6ecad47aeae776068552428b0a35d319a21

epan/dissectors/asn1/kerberos/packet-kerberos-template.c

index 5d735ff8b517319b7a1a6d763737c9121eec5bd6..458e4899ce4d3cf4df62a79bb3572fd6d169a82c 100644 (file)
@@ -1451,7 +1451,6 @@ dissect_krb5_decrypt_authorization_data(gboolean imp_tag _U_, tvbuff_t *tvb, int
        if(plaintext){
                tvbuff_t *child_tvb;
                child_tvb = tvb_new_child_real_data(tvb, plaintext, length, length);
-               tvb_set_free_cb(child_tvb, g_free);
 
                /* Add the decrypted data to the data source list. */
                add_new_data_source(actx->pinfo, child_tvb, "Decrypted Krb5");
@@ -1645,7 +1644,6 @@ dissect_krb5_decrypt_KrbFastReq(gboolean imp_tag _U_, tvbuff_t *tvb, int offset,
        if(plaintext){
                tvbuff_t *child_tvb;
                child_tvb = tvb_new_child_real_data(tvb, plaintext, length, length);
-               tvb_set_free_cb(child_tvb, g_free);
 
                /* Add the decrypted data to the data source list. */
                add_new_data_source(actx->pinfo, child_tvb, "Decrypted Krb5");
@@ -1678,7 +1676,6 @@ dissect_krb5_decrypt_KrbFastResponse(gboolean imp_tag _U_, tvbuff_t *tvb, int of
        if(plaintext){
                tvbuff_t *child_tvb;
                child_tvb = tvb_new_child_real_data(tvb, plaintext, length, length);
-               tvb_set_free_cb(child_tvb, g_free);
 
                /* Add the decrypted data to the data source list. */
                add_new_data_source(actx->pinfo, child_tvb, "Decrypted Krb5");
@@ -1716,7 +1713,6 @@ dissect_krb5_decrypt_EncryptedChallenge(gboolean imp_tag _U_, tvbuff_t *tvb, int
        if(plaintext){
                tvbuff_t *child_tvb;
                child_tvb = tvb_new_child_real_data(tvb, plaintext, length, length);
-               tvb_set_free_cb(child_tvb, g_free);
 
                /* Add the decrypted data to the data source list. */
                add_new_data_source(actx->pinfo, child_tvb, "Decrypted Krb5");
@@ -2036,7 +2032,6 @@ dissect_krb5_PAC_CREDENTIAL_INFO(proto_tree *parent_tree, tvbuff_t *tvb, int off
        if (plaintext != NULL) {
                tvbuff_t *child_tvb;
                child_tvb = tvb_new_child_real_data(tvb, plaintext, plainlen, plainlen);
-               tvb_set_free_cb(child_tvb, g_free);
 
                /* Add the decrypted data to the data source list. */
                add_new_data_source(actx->pinfo, child_tvb, "Decrypted Krb5");