On Sun, Dec 09, 2007 at 01:25:35PM +0100, Peter Kümmel wrote:
>>> #define Q_PLUGIN_INSTANCE(IMPLEMENTATION) \
>>>         { \
>>>             static 
>>> QT_PREPEND_NAMESPACE(QPointer)<QT_PREPEND_NAMESPACE(QObject)> _instance; 
>>> \
>>>             if (!_instance)      \
>>>                 _instance = new IMPLEMENTATION; \
>>>             return _instance; \
>>>         }
>> Which plugin is this?
>
> One of the image plugins.
>
>> Q_PLUGIN_INSTANCE is documented not to delete the instance, so this seems 
>> to  'unlucky, but documented behaviour'...
>
> Any reason not to delete it?

None that I am aware of.

Andre'

Reply via email to