coverity: fix resource leak (uri not free()'ed) in network.c
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 <c66e5a86ef9317cf35cecb2ed063996b2100ed4b@analog.com>

analogdevicesinc/libiio,analogdevicesinc/libiio,analogdevicesinc/libiio,analogdevicesinc/libiio