comparison audioDB.cpp @ 411:ad2206c24986 api-inversion

Fix a memory corruption bug. When allocating the adb_t in audiodb_open(), zero the memory; then we're not going to try to free() or delete some arbitrary uninitialized thing if the thing that we're opening turns out not to be an audiodb database.
author mas01cr
date Thu, 11 Dec 2008 08:54:06 +0000
parents 99e6cbad7f76
children a7d61291fbda
comparison
equal deleted inserted replaced
410:d7e590d58c85 411:ad2206c24986