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-12 11:22:06 +01:00
|
|
|
struct cw_KTV *kvt = data;
|
2018-03-11 00:56:41 +01:00
|
|
|
|
|
|
|
if (kvt->type->del)
|
|
|
|
kvt->type->del(data);
|
|
|
|
|
|
|
|
free(kvt->key);
|
|
|
|
}
|