Fix destruct error
This commit is contained in:
@@ -53,10 +53,11 @@ int daqConstruct(char *configStr)
|
||||
**/
|
||||
void daqDestruct(void)
|
||||
{
|
||||
deleteAllDAQs();
|
||||
if(lastConfStr){
|
||||
free(lastConfStr);
|
||||
}
|
||||
// Segfaults here during destruction?! need to check..
|
||||
//deleteAllDAQs();
|
||||
//if(lastConfStr){
|
||||
// free(lastConfStr);
|
||||
//}
|
||||
}
|
||||
|
||||
/** Optional function.
|
||||
|
||||
Reference in New Issue
Block a user