mirror of https://github.com/citusdata/citus.git
Replace spurious strdup with pstrdup
parent
ee11492a0e
commit
d7ac7a8dd7
|
@ -433,7 +433,7 @@ CreateTargetEntryForColumn(Form_pg_attribute attributeTuple, Index rteIndex,
|
||||||
attributeTuple->atttypmod, attributeTuple->attcollation, 0);
|
attributeTuple->atttypmod, attributeTuple->attcollation, 0);
|
||||||
TargetEntry *targetEntry =
|
TargetEntry *targetEntry =
|
||||||
makeTargetEntry((Expr *) targetColumn, resno,
|
makeTargetEntry((Expr *) targetColumn, resno,
|
||||||
strdup(attributeTuple->attname.data), false);
|
pstrdup(attributeTuple->attname.data), false);
|
||||||
return targetEntry;
|
return targetEntry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue