Commit 7261f404d201b157dc0ce1ae0386fd74f3a128a7

Ran Benita 2012-10-29T01:00:27

state, context: allow passing NULL to *_unref() For error handling code, it's nice to be able to pass NULL to these function without worrying about segfaults ensuing. free() sets the precedent here. Also document this fact. Signed-off-by: Ran Benita <ran234@gmail.com>