SMB3: Fix potential memory leak when processing compound chain