Unverified Commit 67df98b2 authored by Arunprasad Rajkumar's avatar Arunprasad Rajkumar Committed by GitHub
Browse files

Problem: Still old variant of strdup has been used (#691)

pgcopydb recently switched to Boehm-Demers-Weiser Garbage Collector[1] and replaced
malloc family with GC_malloc and friends. However, strdup is not replaced
to GC_strdup.

Solution: Use macros to replace strdup/strndup with it's GC variant.

[1] https://github.com/dimitri/pgcopydb/pull/647



Signed-off-by: default avatarArunprasad Rajkumar <ar.arunprasad@gmail.com>
parent 7707207c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment