Minor cleanup in location/android.c
This commit is contained in:
parent
e9a8573afa
commit
8f095df694
|
@ -98,7 +98,8 @@ static void *android_location_init(void)
|
|||
|
||||
return androidlocation;
|
||||
dealloc:
|
||||
free(androidlocation);
|
||||
if (androidlocation)
|
||||
free(androidlocation);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue