The error is
Code: Select all
variable is not a string at /usr/local/lib/x86_64-linux-gnu/perl5/ZoneMinder/Memory/Mapped.pm line 113.
Code: Select all
variable is not a string at /usr/local/lib/x86_64-linux-gnu/perl5/ZoneMinder/Memory/Mapped.pm line 113.
Code: Select all
sub zmMemDetach( $ )
{
my $monitor = shift;
if ( $monitor->{MMap} )
{
munmap( ${$monitor->{MMap}} ); <<<<<<<< error on this line
delete $monitor->{MMap};
}
if ( $monitor->{MMapAddr} )
{
delete $monitor->{MMapAddr};
}
if ( $monitor->{MMapHandle} )
{
close( $monitor->{MMapHandle} );
delete $monitor->{MMapHandle};
}
}