oc-sogo: Move memory clean up *after* handling the exception
Otherwise the mess is full :) Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>pull/49/head
parent
2c94d21f3e
commit
6be768af42
|
@ -57,9 +57,10 @@ static BOOL leakDebugging = NO;
|
|||
#define TRYCATCH_START @try {
|
||||
#define TRYCATCH_END(pool) \
|
||||
} @catch (NSException * e) { \
|
||||
enum mapistore_error ret = sogo_backend_handle_objc_exception(e, __PRETTY_FUNCTION__, __LINE__); \
|
||||
[pool release]; \
|
||||
GSUnregisterCurrentThread(); \
|
||||
return sogo_backend_handle_objc_exception(e, __PRETTY_FUNCTION__, __LINE__); \
|
||||
return ret; \
|
||||
}
|
||||
|
||||
static enum mapistore_error
|
||||
|
|
Loading…
Reference in New Issue