summaryrefslogtreecommitdiff
path: root/src/gsmd/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsmd/timer.c')
-rw-r--r--src/gsmd/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsmd/timer.c b/src/gsmd/timer.c
index 648676f..31901c7 100644
--- a/src/gsmd/timer.c
+++ b/src/gsmd/timer.c
@@ -160,7 +160,7 @@ struct gsmd_timer *gsmd_timer_alloc(void)
{
struct gsmd_timer *tmr;
- tmr = talloc_size(__tmr_ctx, sizeof(*tmr));
+ tmr = talloc_zero_size(__tmr_ctx, sizeof(*tmr));
return tmr;
}
personal git repositories of Harald Welte. Your mileage may vary