]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/sim-utils.c
sim: split program path out of argv vector
[thirdparty/binutils-gdb.git] / sim / common / sim-utils.c
index 88fd20e8876762c137252242805c94e08923ed7d..0e8cd5afc2f49a8e7b7e1361638b3478130e20e6 100644 (file)
@@ -97,6 +97,7 @@ sim_state_free (SIM_DESC sd)
   SIM_STATE_FREE (sd);
 #endif
 
+  free (STATE_PROG_FILE (sd));
   free (sd);
 }