Changeset 69a11e3974721ffdfdcb4fba3c1114c8a2d7ec43

Show
Ignore:
Timestamp:
05/24/09 18:09:52 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1243188592 +0000
git-parent:

[aeee96eb897a017665c5ff7867b43c6849ba47e6]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1243188592 +0000
Message:

leaking 1 byte allocations sometimes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stratcon_jlog_streamer.c

    r8fd52de r69a11e3  
    261261        if(ctx->header.message_len > 0) 
    262262          ctx->push(DS_OP_INSERT, &nctx->r.remote, ctx->buffer); 
     263        else if(ctx->buffer) 
     264          free(ctx->buffer); 
    263265        /* Don't free the buffer, it's used by the datastore process. */ 
    264266        ctx->buffer = NULL;