Re: [Firebird-devel] Reference counting and dumb pointers
17.11.2015 18:11, Dimitry Sibiryakov пишет: > Hello, All. > > A typical piece of code: > >> // do not assign cryptPlugin directly before key init complete >> IDbCryptPlugin* p = cryptControl.plugin(); >> keyHolderPlugins.init(p); >> cryp
[Firebird-devel] Reference counting and dumb pointers
Hello, All. A typical piece of code: > // do not assign cryptPlugin directly before key init complete > IDbCryptPlugin* p = cryptControl.plugin(); > keyHolderPlugins.init(p); > cryptPlugin = p; > cryptPlugin->addRef();