diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-06-01 21:57:27 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-06-01 21:57:27 +0200 |
commit | eaea30c77486fedc1141c249ae2bee0770516051 (patch) | |
tree | 211264ca3d7d4194020e0505194665c2c3bd2827 /src/gsmd/timer.c | |
parent | fe338bf5c9124cf61b5e541cc4171f549e946b1f (diff) |
use talloc_zero_size instead of talloc_size
Diffstat (limited to 'src/gsmd/timer.c')
-rw-r--r-- | src/gsmd/timer.c | 2 |
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; } |