Skip to content

Commit 8d11605

Browse files
move enable to converter Main class
1 parent e624dfa commit 8d11605

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/converter/Main.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ public static void main(String[] argv) throws Exception {
3535
}
3636
}
3737

38+
if (args.leak) {
39+
args.nativemem = true;
40+
}
41+
3842
for (int i = 0; i < fileCount; i++) {
3943
String input = args.files.get(i);
4044
String output = isDirectory ? new File(lastFile, replaceExt(input, args.output)).getPath() : lastFile;

src/converter/one/convert/Arguments.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ public Arguments(String... args) {
8484
throw new IllegalArgumentException(arg);
8585
}
8686
}
87-
88-
if (leak) {
89-
nativemem = true;
90-
}
9187
}
9288

9389
private static String alias(char c) {

0 commit comments

Comments
 (0)