Commit 61ebac43 authored by Dong Anyuan's avatar Dong Anyuan

Fix Coverity Scan CID 339972 (Variable msg going out of scope leaks the storage it points to.)

parent 486f1368
...@@ -533,7 +533,8 @@ int eth_set_dev_conf_raw_IF4p5(openair0_device *device) { ...@@ -533,7 +533,8 @@ int eth_set_dev_conf_raw_IF4p5(openair0_device *device) {
perror("ETHERNET: "); perror("ETHERNET: ");
exit(0); exit(0);
} }
free(msg);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment