Oracle Solution for Error ora-24436

Solution for Oracle Error ORA-24436

ORA-24436: Invalid statement Handle.

What triggered the Error:

IHandleFree called on a statement that was prepared using OCIstmtPrepare2.

What should we do to fix it:

lease the statement using OCIStmtRelease.