Changeset 35b6eb9 for zephyr.c


Ignore:
Timestamp:
Feb 11, 2011, 4:31:39 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
ddbbcffa
Parents:
96828e4
git-author:
Anders Kaseorg <andersk@mit.edu> (08/27/09 00:52:03)
git-committer:
Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:39)
Message:
Replace owl_realloc with g_renew.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Karl Ramm <kcr@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    r96828e4 r35b6eb9  
    286286    if (count >= subSize) {
    287287      subSize *= 2;
    288       subs = owl_realloc(subs, sizeof(ZSubscription_t) * subSize);
     288      subs = g_renew(ZSubscription_t, subs, subSize);
    289289    }
    290290   
     
    397397      if (count == numSubs) {
    398398        numSubs *= 2;
    399         subs = owl_realloc(subs, numSubs * sizeof(ZSubscription_t));
     399        subs = g_renew(ZSubscription_t, subs, numSubs);
    400400      }
    401401
Note: See TracChangeset for help on using the changeset viewer.