A memory leak alone doesn't bring down a Linux system; the Linux kernel will kill off the process responsible if it sees that too much memory is being used.
So whatever problem you're having that requires a hard reboot is more than this.
How did you determine that the problem you're seeing is due to "something" having a memory leak? If you know there's a memory leak, surely you should know what process is leaking?
A memory leak alone doesn't bring down a Linux system; the Linux kernel will kill off the process responsible if it sees that too much memory is being used.
So whatever problem you're having that requires a hard reboot is more than this.
How did you determine that the problem you're seeing is due to "something" having a memory leak? If you know there's a memory leak, surely you should know what process is leaking?