olsr_switch: fix a memory leak
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 12:14:44 +0000 (14:14 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 12:49:41 +0000 (14:49 +0200)
commit371040cf0457358e4498041cfc30bbf934bf1f0a
treebc7d250c9e523f0d22ac8d901d6fce850604ca8a
parent72f9039866d8b7426ff77baba390f54a4bdc528b
olsr_switch: fix a memory leak

Coverity:
CID 739687 (#1 of 1): Resource leak (RESOURCE_LEAK)
At (16): Variable "oc" going out of scope leaks the storage it points to.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/olsr_switch/main.c