Merge pull request #4 from mohan43u/master

improvised debugging
1) fixed another typo issue in gstplay.c
Fixed memory leaks reported by cppcheck.
Merge pull request #6 from prasannatsm/master

Fixed memory leaks reported by cppcheck.
Fixed compilation issue due to incorrect merge
Merge pull request #7 from prasannatsm/master

Fixed compilation issue due to incorrect merge
merged from upstream master