2018-03-11 00:56:41 +01:00
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
|
2022-07-31 17:15:32 +02:00
|
|
|
#include "val.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
|
|
|
{
|
2022-07-31 17:15:32 +02:00
|
|
|
struct cw_Val *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
|
|
|
}
|