summaryrefslogtreecommitdiff
path: root/epan/tap.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/tap.c')
-rw-r--r--epan/tap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tap.c b/epan/tap.c
index 390824e417..9f559f6040 100644
--- a/epan/tap.c
+++ b/epan/tap.c
@@ -121,7 +121,7 @@ register_tap_listener_cmd_arg(const char *cmd, void (*func)(char *arg))
{
tap_cmd_arg *newtca;
- newtca=malloc(sizeof(tap_cmd_arg));
+ newtca=g_malloc(sizeof(tap_cmd_arg));
newtca->next=tap_cmd_arg_list;
tap_cmd_arg_list=newtca;
newtca->cmd=cmd;