]> git.tuebingen.mpg.de Git - osl.git/commit
osl_update_object(): Honor OSL_DONT_FREE.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 4 Jan 2015 00:34:26 +0000 (00:34 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 18 Feb 2015 14:11:29 +0000 (15:11 +0100)
commitcc7f7cc534b1b60bad49e99411749cb680aaaf8d
tree7192052e5befa898631ad4a68f4b09c378cdb6e8
parent20a76169066eaf33b279e0f322415ea4b4c2899e
osl_update_object(): Honor OSL_DONT_FREE.

When osl_update_object() is called to replace an object of
an OSL_NO_STORAGE column, it frees the old object even if the
OSL_DONT_FREE flag is set for the column, which is wrong. This patch
changes the function to call free() only if OSL_DONT_FREE is unset.
osl.c