2018-03-11 00:56:41 +01:00
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
|
2018-03-12 11:22:06 +01:00
|
|
|
#include "ktv.h"
|
2018-03-11 00:56:41 +01:00
|
|
|
|
2018-03-12 11:22:06 +01:00
|
|
|
void cw_ktv_mavldel(void *data)
|
2018-03-11 00:56:41 +01:00
|
|
|
{
|
2018-03-31 08:37:18 +02:00
|
|
|
struct cw_KTV *ktv = data;
|
2018-03-31 10:12:02 +02:00
|
|
|
if (ktv->type->del) {
|
2018-03-31 08:37:18 +02:00
|
|
|
ktv->type->del(data);
|
|
|
|
}
|
|
|
|
free(ktv->key);
|
2018-03-11 00:56:41 +01:00
|
|
|
}
|