- Timestamp:
- Feb 11, 2011, 4:31:33 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- 35b6eb9
- Parents:
- 9518a85
- git-author:
- Anders Kaseorg <andersk@mit.edu> (08/27/09 00:51:45)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:33)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
aim.c
rc6adf17 r96828e4 134 134 135 135 /* this will leak, I know and just don't care right now */ 136 priv=owl_malloc(sizeof(struct owlfaim_priv)); 137 memset(priv, 0, sizeof(struct owlfaim_priv)); 136 priv=g_new0(struct owlfaim_priv, 1); 138 137 139 138 priv->screenname = owl_strdup(screenname); … … 435 434 436 435 j=strlen(in); 437 out= owl_malloc(j+30);436 out=g_new(char, j+30); 438 437 k=0; 439 438 for (i=0; i<j; i++) { … … 1046 1045 wrapmsg=owl_text_wordwrap(stripmsg, 70); 1047 1046 nz_screenname=owl_aim_normalize_screenname(userinfo->sn); 1048 m= owl_malloc(sizeof(owl_message));1047 m=g_new(owl_message, 1); 1049 1048 owl_message_create_aim(m, 1050 1049 nz_screenname,
Note: See TracChangeset
for help on using the changeset viewer.