Skip to content

Commit 567c887

Browse files
committed
Fix memory leak in mono
1 parent b18624c commit 567c887

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mono/mono/mini/driver.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,6 +1907,7 @@ switch_gc (char* argv[], const char* target_gc)
19071907
#else
19081908
fprintf (stderr, "Error: --gc=<NAME> option not supported on this platform.\n");
19091909
#endif
1910+
g_string_free (path, TRUE);
19101911
}
19111912

19121913
static void

0 commit comments

Comments
 (0)