Module already had StgCreateDocfileOnILockBytes. This patch adds StgOpenStorageOnILockBytes function as well for files already created and in memory.
Updated patch resolves a memory leak due to a missing Release()
I think both pStgPriority and plb must be released. Also, you should make sure the error path (when pStgPriority fails) should release plb.
Updated with missing Release() in error condition.
Thanks - checked in a slightly modified version (used 'k' for PyArg_ParseTuple flags as they are unsigned, and removed a little trailing whitespace) as changeset 4392:9559d74774bc
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.