Commit 21c4e256 authored by Dong Anyuan's avatar Dong Anyuan

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

parent f3c3a1ff
...@@ -501,6 +501,7 @@ int eth_set_dev_conf_raw(openair0_device *device) { ...@@ -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;
} }
......
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