Fix a memory leak in function gl_init_font in ps_libdbgfont.c
Fix two memory leaks in function align_program in py_state.c
Remove a redundant if statement in function set_direct_pix_conv in scaler.c. This branch already exists in this if statement chain, see the third else-if statement.
Fix a memory leak in function rglCgCreateProgramGroupFromFile in rgl_ps3_cg.cpp.
Fix a memory leak in function get_sha1 in retrolaunch/main.c.
Fix a memory leak in function find_first_cue in retrolaunch/cd_detect.c.
Missed a spot for closing file handle fd in function get_sha1.
Merge pull request #339 from lioncash/master

Fix some memory leaks in the core.