Changeset f1e46ca93d94b18d9f6fd83099a2895f834f34fb

Show
Ignore:
Timestamp:
05/27/09 16:53:23 (9 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1243443203 +0000
git-parent:

[9ccb08da4c01aad9eac9b61cccc0c18afb349ca9]

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

bad allocation inside stomp, refs #139

Files:

Legend:

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

    ra907717 rf1e46ca  
    3636        // Allocate the connection and a memory pool for the connection. 
    3737        // 
    38         connection = apr_pcalloc(pool, sizeof(connection)); 
     38        connection = apr_pcalloc(pool, sizeof(*connection)); 
    3939        if( connection == NULL ) 
    4040                return APR_ENOMEM;