Leary was at work on 16 October 1834 during the 1834 Parliament fire. He and the Lords clerks "afforded very prompt aid" to prevent damage to the library, which emerged unscathed, unlike the majority of the building, including the House of Commons Library.