Fix Coverity Scan CID 339991 (Variable msg going out of scope leaks the storage it points to.)
This commit is contained in:
@@ -501,6 +501,7 @@ int eth_set_dev_conf_raw(openair0_device *device) {
|
|||||||
perror("ETHERNET: ");
|
perror("ETHERNET: ");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
free(msg);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user