Fix memory leak
+ release read shader code after finishing with it