Fix destruct error
This commit is contained in:
1 parent
7963eccabf
commit
1cd2c32b2d
1 file changed
+5
-4
+5
-4
@@ -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