70_ENIGMA2: try some memory garbage collection

git-svn-id: https://svn.fhem.de/fhem/trunk@9738 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
loredo
2015-10-31 16:39:50 +00:00
parent cd73dd91b0
commit 0b290df7b2

View File

@@ -1076,6 +1076,7 @@ sub ENIGMA2_ReceiveCommand($$$) {
KeyAttr => {}
);
$return = $parser->XMLin( Encode::encode_utf8($data) );
undef $parser;
}
else {
if ( !defined($cmd) || $cmd eq "" ) {
@@ -2310,6 +2311,7 @@ sub ENIGMA2_ReceiveCommand($$$) {
readingsEndUpdate( $hash, 1 );
undef $return;
return;
}