diff options
author | Ben Chan <benchan@chromium.org> | 2017-06-30 06:27:07 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-06-30 15:33:03 +0200 |
commit | 524acd75966d283dda0ba7d748b16ce6902a2868 (patch) | |
tree | 58fc226c229ac5d8b1c10a048bd1f143dba85e0b /src/mm-error-helpers.c | |
parent | d49cf585dd1f3e6f06b4ee23bbd3ca5278f2739c (diff) |
iface-modem: use g_new0 instead of g_slice_new0 to allocate context
By using g_new0 instead of g_slice_new0 to allocate certain context
structs, we can simply use g_free as GDestroyNotify in
g_task_set_task_data and get rid of those functions that solely wrap the
g_slice_free call.
Diffstat (limited to 'src/mm-error-helpers.c')
0 files changed, 0 insertions, 0 deletions