annotate close.cpp @ 394:64b2bf35d30b api-inversion

Compile the test files with -g. This gives me a chance to use watchpoints and similar tricks to find out how amusingly I have messed up when making my crazy modifications to the structure of the code...
author mas01cr
date Tue, 25 Nov 2008 16:41:00 +0000
parents 78fed0d4c108
children 58b88ab69424
rev   line source
mas01cr@392 1 #include "audioDB.h"
mas01cr@392 2 extern "C" {
mas01cr@392 3 #include "audioDB_API.h"
mas01cr@392 4 }
mas01cr@392 5
mas01cr@392 6 void audiodb_close(adb_t *adb) {
mas01cr@392 7 free(adb->path);
mas01cr@392 8 free(adb->header);
mas01cr@392 9 close(adb->fd);
mas01cr@392 10 free(adb);
mas01cr@392 11 }