xbmc/xbmc — pull request #504 by tsp (2011-10-22 08:08:12+00:00)
Title: libcmyth bug fix

Should fix the following bugs in libcmyth

* Wrong debug callback function
* Reference counting broken on linux
* cmyth_mysql_testdb_connection returns a pointer to a stack char[]
* ref_reallof derefence NULL pointer in debug build