rbuf: fix 'Mismatched free() / delete / delete []'

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Merge branch 'master' into teev-qt