~cpick/mongrel2/release

« back to all changes in this revision

Viewing changes to src/tnetstrings.c

  • Committer: Chris Pick
  • Date: 2013-06-30 16:39:57 UTC
  • mfrom: (1106.1.15)
  • Revision ID: git-v1:ec39967acb6bc9867ed9b9dc3774304ca6b9c294
Merge tag 'v1.8.1' into debian

Hotfix for github issue 148

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
 
169
169
void tns_hnode_free(hnode_t *node, void *notused)
170
170
{
 
171
    (void)notused;
 
172
 
171
173
    bdestroy((bstring)hnode_getkey(node));
172
174
    tns_value_destroy(hnode_get(node));
173
175
    free(node);
175
177
 
176
178
hnode_t *tns_hnode_alloc(void *notused)
177
179
{
 
180
    (void)notused;
 
181
 
178
182
    return malloc(sizeof(hnode_t));
179
183
}
180
184