Fixed crash on null paths cache
Monotone-Parent: 738bb5934b9505acd57737d65ba73eb95e8a9379 Monotone-Revision: 07da2515c4d2be88823f4531db65f3d4d995acdc Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2012-02-14T15:51:23maint-2.0.2
parent
8c5021e3d0
commit
486c7115fb
|
@ -215,7 +215,7 @@ static memcached_st *handle = NULL;
|
|||
inContainer: [container container]];
|
||||
fullPath = [self _pathFromObject: container
|
||||
withName: name];
|
||||
if (![cache objectForKey: fullPath])
|
||||
if (fullPath && ![cache objectForKey: fullPath])
|
||||
{
|
||||
[cache setObject: object forKey: fullPath];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue