K 10 svn:author V 7 oshogbo K 8 svn:date V 27 2015-08-11T18:17:31.351343Z K 7 svn:log V 161 If any function fail (the ptr variable will be equal to NULL), we shouldn't return buffer. Instead we should free it and return NULL. Approved by: pjd (mentor) END