amfree(est->qamdevice);
amfree(est->dirname);
amfree(est->qdirname);
- if(est->dle) {
-/* free DLE */
+ if (est->dle) {
+ free_dle(est->dle);
}
}
if (est->dle->data_path == DATA_PATH_AMANDA &&
(bsu->data_path_set & DATA_PATH_AMANDA)==0) {
g_printf("%s %d ERROR application %s doesn't support amanda data-path\n", est->qamname, 0, est->dle->program);
+ amfree(bsu);
return;
}
if (est->dle->data_path == DATA_PATH_DIRECTTCP &&
(bsu->data_path_set & DATA_PATH_DIRECTTCP)==0) {
g_printf("%s %d ERROR application %s doesn't support directtcp data-path\n", est->qamname, 0, est->dle->program);
+ amfree(bsu);
return;
}
}
}
- if (nb_level == 0)
+ if (nb_level == 0) {
+ amfree(bsu);
return;
+ }
if (bsu->multi_estimate) {
for (i=0;i<nb_level;i++) {
}
}
}
+
+ amfree(bsu);
}