Re: [PATCH 3/3] core: use g_clear_pointer() to avoid explicitly checking and resetting pointers

2018-10-18 Thread Aleksander Morgado
On 10/18/18 8:06 AM, Ben Chan wrote: > --- > src/mm-base-sms.c | 10 ++ > src/mm-broadband-modem-mbim.c | 10 ++ > 2 files changed, 4 insertions(+), 16 deletions(-) > Pushed to git master, thanks. > diff --git a/src/mm-base-sms.c b/src/mm-base-sms.c > index e117bef7.

[PATCH 3/3] core: use g_clear_pointer() to avoid explicitly checking and resetting pointers

2018-10-17 Thread Ben Chan
--- src/mm-base-sms.c | 10 ++ src/mm-broadband-modem-mbim.c | 10 ++ 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/src/mm-base-sms.c b/src/mm-base-sms.c index e117bef7..25a02617 100644 --- a/src/mm-base-sms.c +++ b/src/mm-base-sms.c @@ -939,10 +939,7