Diff between b9da63613161e5413e21d4d905b8c3f5dec2af63 and 20bd1b02be0bec19bdfa1f84185ad068750f0609

Changed Files

File Additions Deletions Status
android/system-emulator.c +3 -2 modified

Full Patch

diff --git a/android/system-emulator.c b/android/system-emulator.c
index c0804f4..dc46814 100644
--- a/android/system-emulator.c
+++ b/android/system-emulator.c
@@ -50,7 +50,7 @@ static pid_t snoop_pid = -1;
 static void ctl_start(void)
 {
 	char prg_name[PATH_MAX + 1];
-	char *prg_argv[4];
+	char *prg_argv[5];
 	char *prg_envp[3];
 	pid_t pid;
 
@@ -59,7 +59,8 @@ static void ctl_start(void)
 	prg_argv[0] = "/usr/bin/valgrind";
 	prg_argv[1] = "--leak-check=full";
 	prg_argv[2] = prg_name;
-	prg_argv[3] = NULL;
+	prg_argv[3] = "-d";
+	prg_argv[4] = NULL;
 
 	prg_envp[0] = "G_SLICE=always-malloc";
 	prg_envp[1] = "G_DEBUG=gc-friendly";