Fixed a crash when using "recordingDurationLimit" with a limit exceding 10 secondes.
Fixed a leak.