QSV: calloc also zeroes the session