rilmodem: Fix for memory leaks
Merge pull request #30 from alfonsosanchezbeato/fix-leaks

rilmodem: Fix for memory leaks