Update vl_covdet.c

Fix a memory leak.