K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-10-13T20:49:24.000000Z K 7 svn:log V 276 Wait for thread count to reach zero in destroy_devl() even when no purge method is defined, to avoid memory being modified after free. Temporarily increase refcount in destroy_devl() to avoid a double free if dev_rel() is called while waiting for thread count to reach zero. END