scrooloose/syntastic — pull request #263 by powerman (2012-05-26 12:28:54+00:00)
Title: Fix 'E776: No location list' on re-opening file

Open two files in tabs, write one of them to get syntax errors in
location-list, :q from that file/tab, then open that file again
with :tabnew - you'll see E776 because after :q buffer wasn't deleted,
and so b:syntastic_loclist still contain old errors, while location-list
(associated with window, not buffer) was deleted and thus :lopen fails.