(canon_host): Use malloc and memcpy to copy an
authorJim Meyering <jim@meyering.net>
Wed, 21 Jun 2000 13:00:49 +0000 (13:00 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 21 Jun 2000 13:00:49 +0000 (13:00 +0000)
commit011f3dd819e08a897c9625a06b981498932e9926
treea4146d3c23173bf4db55b60e6b1c03a811f5f429
parenta46cc0f8b755cec78b27aa4fb8224d5f479582be
(canon_host): Use malloc and memcpy to copy an
address, not strdup.  Include <stdlib.h> and don't declare free().
lib/canon-host.c