fix strdup() vs utils::strdup() bug
This commit is contained in:
@ -328,7 +328,7 @@ void FixAdapt::init()
|
||||
// strip it for pstyle arg to pair_match() and set nsub = N
|
||||
// this should work for appended suffixes as well
|
||||
|
||||
char *pstyle = strdup(ad->pstyle);
|
||||
char *pstyle = utils::strdup(ad->pstyle);
|
||||
char *cptr;
|
||||
int nsub = 0;
|
||||
if ((cptr = strchr(pstyle,':'))) {
|
||||
|
||||
Reference in New Issue
Block a user