X-Git-Url: https://git.saurik.com/apple/configd.git/blobdiff_plain/c387a05da0fa0df1d260acaa042ff33357016d94..ba83da554b37c2706d3991e01798c6f0390ad20d:/SystemConfiguration.fproj/SCLocation.c diff --git a/SystemConfiguration.fproj/SCLocation.c b/SystemConfiguration.fproj/SCLocation.c index 602ab54..bf049ce 100644 --- a/SystemConfiguration.fproj/SCLocation.c +++ b/SystemConfiguration.fproj/SCLocation.c @@ -32,6 +32,7 @@ #include #include + CFStringRef SCDynamicStoreKeyCreateLocation(CFAllocatorRef allocator) { @@ -77,6 +78,7 @@ SCDynamicStoreCopyLocation(SCDynamicStoreRef store) done : + if (tempSession) CFRelease(store); if (dict) CFRelease(dict);