Commit 605baa9
committed
coverity: fix resource leak (uri not free()'ed) in network.c
the buffer 'uri' was malloced, and only free'd on the error case.
free it in the normal case.
Signed-off-by: Robin Getz <robin.getz@analog.com>1 parent f0dcbf0 commit 605baa9
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1502 | 1502 | | |
1503 | 1503 | | |
1504 | 1504 | | |
| 1505 | + | |
1505 | 1506 | | |
1506 | 1507 | | |
1507 | 1508 | | |
| |||
0 commit comments