diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2014-07-09 11:58:46 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-07-09 11:58:46 +0200 |
commit | 6062462dcb8f68aff25607b742e05a4a53148c79 (patch) | |
tree | d066815fe775844346692e8a9a39acb5d64f59b5 | |
parent | 0be8808cbd6cd490d842876cefd249796838b377 (diff) | |
download | ModemManager-6062462dcb8f68aff25607b742e05a4a53148c79.tar.gz |
broadband-modem-mbim: reset strings to NULL, not 0
-rw-r--r-- | src/mm-broadband-modem-mbim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c index a2ae4cd0e..be6c50170 100644 --- a/src/mm-broadband-modem-mbim.c +++ b/src/mm-broadband-modem-mbim.c @@ -1580,11 +1580,11 @@ update_registration_info (MMBroadbandModemMbim *self, } else { if (self->priv->current_operator_id) { g_free (self->priv->current_operator_id); - self->priv->current_operator_id = 0; + self->priv->current_operator_id = NULL; } if (self->priv->current_operator_name) { g_free (self->priv->current_operator_name); - self->priv->current_operator_name = 0; + self->priv->current_operator_name = NULL; } g_free (operator_id_take); g_free (operator_name_take); |