Changeset 4463:c4caff931828 in roaraudio
- Timestamp:
- 10/10/10 15:57:49 (14 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- libroar
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/pinentry.c
r3811 r4463 222 222 if ( (tp = strstr(realbuf, " ")) == NULL ) { 223 223 if ( line != NULL ) 224 *line = strdup(realbuf);224 *line = roar_mm_strdup(realbuf); 225 225 226 226 if ( opts != NULL ) … … 239 239 if ( !strcmp(realbuf, "D") ) { 240 240 if ( opts != NULL ) 241 *opts = strdup(tp+1);241 *opts = roar_mm_strdup(tp+1); 242 242 243 243 return roar_pinentry_recv(pe, line, NULL); … … 245 245 246 246 if ( line != NULL ) 247 *line = strdup(realbuf);247 *line = roar_mm_strdup(realbuf); 248 248 249 249 if ( opts != NULL ) -
libroar/sshaskpass.c
r3900 r4463 64 64 return -1; 65 65 66 *pw = strdup(buf);66 *pw = roar_mm_strdup(buf); 67 67 68 68 return 0;
Note: See TracChangeset
for help on using the changeset viewer.