Skip to content

Commit 206a98b

Browse files
authored
Merge pull request #165 from Kyamel/master
fix: namespace on AGP 7.x must be defined on build.gradle. Also added…
2 parents ba351bd + 4ed8a37 commit 206a98b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/javascriptcore/jscore_runtime.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ class JavascriptCoreRuntime extends JavascriptRuntime {
7272
1,
7373
exception.pointer);
7474
calloc.free(scriptCString);
75-
if (sourceUrlCString != null) {
76-
calloc.free(sourceUrlCString);
77-
}
75+
calloc.free(sourceUrlCString as Pointer<NativeType>);
7876

7977
String result;
8078

0 commit comments

Comments
 (0)