[jscore] Release property string
authorKalle Vahlman <kalle.vahlman@movial.com>
Thu, 23 Apr 2009 11:18:01 +0000 (14:18 +0300)
committerKalle Vahlman <kalle.vahlman@movial.com>
Thu, 23 Apr 2009 11:18:01 +0000 (14:18 +0300)
jscorebus/jscorebus.c

index d3d3822..86dde18 100644 (file)
@@ -601,5 +601,6 @@ void jscorebus_export(JSGlobalContextRef context)
   JSObjectSetProperty(context, globalObject,
                       jsstr, dbus,
                       kJSPropertyAttributeNone, NULL);
+  JSStringRelease(jsstr);
 }