When the nativeWindow is passed as 0, EGL will open /dev/fb0 as the native window. The nativeWindow opened this way was not closed by EGL properly and the error shows, this EGL bug will be addressed in the next releases from FSL.
For now, please pass a valid nativewindow pointer, so that the application will have control to decide the rendering window rather than EGL.