HC quashes criminal case