Menu

Memory leak in OCIStmtExecute

Help
2002-10-29
2003-01-14
  • Sanjeev Mishra

    Sanjeev Mishra - 2002-10-29

    HI ,
      I am calling
    sword   OCIStmtExecute  (OCISvcCtx *svchp, OCIStmt *stmtp, OCIError *errhp,
                             ub4 iters, ub4 rowoff, CONST OCISnapshot *snap_in,
                             OCISnapshot *snap_out, ub4 mode);
    in my program.I am observing that this call is allocating 4152 bytes of memory in 2 chunks, which get never freed.I am not able to find that whose responsibility is this to free this memory allocated by this call.
       As I am badly stuck up withthis peoblem.Can anybody please help me out.
    Regards
    Sanjeev

     
    • Alexander I. Olefirenko

      What do you mean by never freed ?
      this memory should be freed when stmtp freed by OCIHandleFree call..

       

Log in to post a comment.