Do not use lo_arg_pp() to print device name.
Fix query-related memory leaks.
Memory leak fix.
Free allocated lo_blobs
Fix Valgrind invalid read warning from strncpy.