diff options
Diffstat (limited to 'src/location-geoclue.c')
-rw-r--r-- | src/location-geoclue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location-geoclue.c b/src/location-geoclue.c index b2616bf..851a75b 100644 --- a/src/location-geoclue.c +++ b/src/location-geoclue.c @@ -123,8 +123,8 @@ void location_geoclue_free(location_geoclue_state_t *state) { if (state->position != NULL) g_object_unref(state->position); - if (state->provider != NULL) free(state->provider); - if (state->provider_path != NULL) free(state->provider_path); + free(state->provider); + free(state->provider_path); } void |