Changeset ddbbcffa for zbuddylist.c


Ignore:
Timestamp:
Feb 11, 2011, 4:31:42 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
d4927a7
Parents:
35b6eb9
git-author:
Anders Kaseorg <andersk@mit.edu> (08/27/09 00:52:41)
git-committer:
Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:42)
Message:
Replace owl_free with g_free.

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

Legend:

Unmodified
Added
Removed
  • zbuddylist.c

    rb258c51 rddbbcffa  
    1616  for (i=0; i<j; i++) {
    1717    if (!strcasecmp(user, owl_list_get_element(&(zb->zusers), i))) {
    18       owl_free(user);
     18      g_free(user);
    1919      return(-1);
    2020    }
     
    3636    if (!strcasecmp(user, ptr)) {
    3737      owl_list_remove_element(&(zb->zusers), i);
    38       owl_free(ptr);
    39       owl_free(user);
     38      g_free(ptr);
     39      g_free(user);
    4040      return(0);
    4141    }
    4242  }
    43   owl_free(user);
     43  g_free(user);
    4444  return(-1);
    4545}
     
    5555  for (i=0; i<j; i++) {
    5656    if (!strcasecmp(user, owl_list_get_element(&(zb->zusers), i))) {
    57       owl_free(user);
     57      g_free(user);
    5858      return(1);
    5959    }
    6060  }
    61   owl_free(user);
     61  g_free(user);
    6262  return(0);
    6363}
Note: See TracChangeset for help on using the changeset viewer.