diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-12-07 08:52:31 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-12-07 08:52:31 +0000 |
commit | 70f4ad8b4bf7d477bcfc7efdec7f25b1f9517cd3 (patch) | |
tree | 3cfc2e7a86a853d3eb56a12e37bd1c25083c2cd5 /audio/a2dp.c | |
parent | 1b2f232ee7f343178d90dc194a773cf45f26a84b (diff) |
Fix another potential uninitialized memory access issue
Diffstat (limited to 'audio/a2dp.c')
-rw-r--r-- | audio/a2dp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/a2dp.c b/audio/a2dp.c index 7b17f941..e4f65f3e 100644 --- a/audio/a2dp.c +++ b/audio/a2dp.c @@ -1082,7 +1082,7 @@ unsigned int a2dp_source_resume(struct avdtp *session, struct a2dp_sep *sep, struct a2dp_setup_cb *cb_data; struct a2dp_setup *setup; - cb_data = g_new(struct a2dp_setup_cb, 1); + cb_data = g_new0(struct a2dp_setup_cb, 1); cb_data->resume_cb = cb; cb_data->user_data = user_data; cb_data->id = ++cb_id; |