aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-homeplug.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-12-19 17:46:59 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-12-19 17:46:59 +0000
commitf756c9b2c4648478f32e02d88a1041d2960e6b72 (patch)
treeeb1195f867303ab9278c7470b19f128a88ecd628 /epan/dissectors/packet-homeplug.c
parent62393a672e359d7c05aef7d5e8df413bcbea00fe (diff)
Since we're always calling ptvcursor_new() now, always call ptvcursor_free().
svn path=/trunk/; revision=54254
Diffstat (limited to 'epan/dissectors/packet-homeplug.c')
-rw-r--r--epan/dissectors/packet-homeplug.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-homeplug.c b/epan/dissectors/packet-homeplug.c
index c2e01cb7fc..2952ff5c8c 100644
--- a/epan/dissectors/packet-homeplug.c
+++ b/epan/dissectors/packet-homeplug.c
@@ -1354,8 +1354,7 @@ dissect_homeplug(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
}
}
- if (cursor)
- ptvcursor_free(cursor);
+ ptvcursor_free(cursor);
}