Fixed global variable "plist" leak #24

Merged
merged 1 commit into from Jan 30, 2013
Jump to file or symbol
Failed to load files and symbols.
+1 −0
Split
View
@@ -75,6 +75,7 @@
exports.parseStringSync = function (xml) {
var doc = new DOMParser().parseFromString(xml);
+ var plist;
if (doc.documentElement.nodeName !== 'plist') {
throw new Error('malformed document. First element should be <plist>');
}