aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tap.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-03-11 09:31:11 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-03-11 09:31:11 +0000
commit349c5a8699ca4c28d6bcb2d21b5865700e6e4d52 (patch)
tree78f48c0f09209572dd57598da27708f48d477222 /epan/tap.c
parent009de7a662b9727b74dc426bd398eaaa1cdc2f65 (diff)
from metze
various bugfixes and enhancements to decryption of secure ldap svn path=/trunk/; revision=13710
Diffstat (limited to 'epan/tap.c')
-rw-r--r--epan/tap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/tap.c b/epan/tap.c
index 60ee22e195..4d89056b2b 100644
--- a/epan/tap.c
+++ b/epan/tap.c
@@ -177,6 +177,9 @@ tap_queue_packet(int tap_id, packet_info *pinfo, const void *tap_specific_data)
/* get a free tap_packet structure, this is CHEAP */
tpt=tap_packet_list_free;
+ if (!tpt) {
+ return;
+ }
tap_packet_list_free=tpt->next;
tpt->next=tap_packet_list_queue;
tap_packet_list_queue=tpt;