|
From: | Riccardo Mottola |
Subject: | Re: GWorkspace ddbd dying when mdextractor connects |
Date: | Sun, 17 Feb 2013 17:33:33 +0100 |
User-agent: | Mozilla/5.0 (X11; NetBSD i386; rv:17.0) Gecko/20130204 Thunderbird/17.0.2 |
Hi, On 02/16/13 22:47, Fred Kiefer wrote:
There is one strange thing I see in the code in ddbd.m. You don't retain the connection, still you release it in the -dealloc method. Most likely you should retain it in the -init method. Forgetting that, together with this code in main():are you sure that defaultConnection returns an autoreleased object? I thought it to be equivalent of "new", just acting as a singleton.
Riccardo
[Prev in Thread] | Current Thread | [Next in Thread] |