summaryrefslogtreecommitdiff
path: root/javascript/jsapi
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-11-21 22:08:18 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-11-21 22:08:18 +0000
commit054984099fd8867da92fa685dce728e1cc665fd0 (patch)
tree0002d6103d982ee117ad1ade074d5df659a2a3d0 /javascript/jsapi
parentc2cd36fda86b9bdfbb36cc340e35cfbc6609fd32 (diff)
downloadnetsurf-054984099fd8867da92fa685dce728e1cc665fd0.tar.gz
netsurf-054984099fd8867da92fa685dce728e1cc665fd0.tar.bz2
use correct unref functions
Diffstat (limited to 'javascript/jsapi')
-rw-r--r--javascript/jsapi/location.bnd14
1 files changed, 7 insertions, 7 deletions
diff --git a/javascript/jsapi/location.bnd b/javascript/jsapi/location.bnd
index e91094f2d..a381db111 100644
--- a/javascript/jsapi/location.bnd
+++ b/javascript/jsapi/location.bnd
@@ -58,7 +58,7 @@ getter protocol %{
jsret = JS_NewStringCopyN(cx,
lwc_string_data(component),
lwc_string_length(component));
- dom_string_unref(component);
+ lwc_string_unref(component);
}
%}
@@ -69,7 +69,7 @@ getter host %{
jsret = JS_NewStringCopyN(cx,
lwc_string_data(component),
lwc_string_length(component));
- dom_string_unref(component);
+ lwc_string_unref(component);
}
%}
@@ -80,7 +80,7 @@ getter hostname %{
jsret = JS_NewStringCopyN(cx,
lwc_string_data(component),
lwc_string_length(component));
- dom_string_unref(component);
+ lwc_string_unref(component);
}
%}
@@ -92,7 +92,7 @@ getter port %{
jsret = JS_NewStringCopyN(cx,
lwc_string_data(component),
lwc_string_length(component));
- dom_string_unref(component);
+ lwc_string_unref(component);
}
%}
@@ -104,7 +104,7 @@ getter pathname %{
jsret = JS_NewStringCopyN(cx,
lwc_string_data(component),
lwc_string_length(component));
- dom_string_unref(component);
+ lwc_string_unref(component);
}
%}
@@ -116,7 +116,7 @@ getter search %{
jsret = JS_NewStringCopyN(cx,
lwc_string_data(component),
lwc_string_length(component));
- dom_string_unref(component);
+ lwc_string_unref(component);
}
%}
@@ -128,6 +128,6 @@ getter hash %{
jsret = JS_NewStringCopyN(cx,
lwc_string_data(component),
lwc_string_length(component));
- dom_string_unref(component);
+ lwc_string_unref(component);
}
%}