pidgin/pidgin

Replace shallow *_dup calls with g_memdup2 or g_new0

2022-03-13, Elliott Sales de Andrade
600e7b4219de
Replace shallow *_dup calls with g_memdup2 or g_new0

For a shallow copy, it's far simpler to just call g_memdup2 directly.
In a couple cases where most fields are replaced after, it's simpler to
allocate a new struct entirely and just copy the one or two fields from the
original.
REVIEWBOARD_URL = "https://reviews.imfreedom.org/"
REPOSITORY = "pidgin/pidgin"
REPOSITORY_TYPE = "mercurial"
BRANCH = "default"
LAND_DEST_BRANCH = "default"
LAND_PUSH = False