serv_fulltext.c: copy the data returned by cdb_fetch() instead of taking ownership
authorArt Cancro <ajc@citadel.org>
Wed, 16 Aug 2023 02:18:31 +0000 (17:18 -0900)
committerArt Cancro <ajc@citadel.org>
Wed, 16 Aug 2023 02:18:31 +0000 (17:18 -0900)
commit47aaf550a837fa24b5fe3be79968f99ad59af32a
treefe01093f04779ae0cbe55f49ad83fe7aad9b4a47
parenta3585c5d0d780f6680bf66bb807ae375b9591cb2
serv_fulltext.c: copy the data returned by cdb_fetch() instead of taking ownership

We have to do this everywhere.  Berkeley DB can be configured to hand off ownership of memory to
the caller, but LMDB cannot.
citadel/server/modules/fulltext/serv_fulltext.c