[PATCH] quartz: Fix some memory leaks (Coverity).