diff options
| author | SND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-01-21 12:55:55 +0000 |
|---|---|---|
| committer | SND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-01-21 12:55:55 +0000 |
| commit | 47b0777b946e413500bc0420d91298aa4e8f8301 (patch) | |
| tree | 6bc256e78ed18a1f455ddf6dc38c94099f92397d | |
| parent | fd5421e7c297666a3df6165dc421bd72f5c7f68b (diff) | |
| download | pcsxr-47b0777b946e413500bc0420d91298aa4e8f8301.tar.gz | |
GTK: memleak fix and no warn about incompatible parameter.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88392 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rwxr-xr-x | gui/GtkGui.c | 1 | ||||
| -rwxr-xr-x | gui/LnxMain.c | 2 | ||||
| -rwxr-xr-x | plugins/dfxvideo/draw.c | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/gui/GtkGui.c b/gui/GtkGui.c index 946a34a9..2a3c7069 100755 --- a/gui/GtkGui.c +++ b/gui/GtkGui.c @@ -586,6 +586,7 @@ void OnFile_RunExe() { SysReset(); if (Load(file) == 0) { + g_free(reset_load_info); reset_load_info = g_strdup(file); g_free(file); psxCpu->Execute(); diff --git a/gui/LnxMain.c b/gui/LnxMain.c index 023785e6..14c295cd 100755 --- a/gui/LnxMain.c +++ b/gui/LnxMain.c @@ -476,7 +476,7 @@ int SysInit() { setvbuf(emuLog, NULL, _IONBF, 0u); } #else - setvbuf(emuLog, NULL, _IONBF, NULL); + setvbuf(emuLog, NULL, _IONBF, 0u); #endif #endif diff --git a/plugins/dfxvideo/draw.c b/plugins/dfxvideo/draw.c index 2215a699..73d0fef8 100755 --- a/plugins/dfxvideo/draw.c +++ b/plugins/dfxvideo/draw.c @@ -1133,7 +1133,6 @@ void CreateDisplay(void) } if ((dwActFixes&0x800)) { // Try to use Xv's sync - printf("Jebac\n"); Atom atom_vsync = xv_intern_atom_if_exists(display, "XV_SYNC_TO_VBLANK"); if (atom_vsync != None) { XvGetPortAttribute(display, xv_port, atom_vsync, &xv_vsync); |
