Fix Windows memory freeing: add a check for fb == NULL; fixes trac #4506