logo       

Re: patch for infocamere emulator: msg#00196

encryption.opensc.devel

Subject: Re: patch for infocamere emulator

Giuseppe Sacco wrote:
Hi,
this small patch fixes a problem during a call to free() and for
identifying infocamere cards.

I hope you may test it and, maybe, apply to CVS.

Bye,
Giuseppe


------------------------------------------------------------------------

--- pkcs15-infocamere.c.orig 2005-02-06 21:46:15.000000000 +0100
+++ pkcs15-infocamere.c 2005-03-15 14:50:48.679170968 +0100
@@ -47,7 +47,7 @@
set_string(char **strp, const char *value)
{
if (*strp)
- free(strp);
+ free(*strp);
*strp = value? strdup(value) : NULL;
}

I've committed this one

Thanks,
Nils


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise