Lines 61-73
free_type (const char *name, const Type *t, int preserve)
Link Here
|
61 |
case TNull: |
61 |
case TNull: |
62 |
case TGeneralizedTime: |
62 |
case TGeneralizedTime: |
63 |
case TUTCTime: |
63 |
case TUTCTime: |
64 |
/* |
|
|
65 |
* This doesn't do much, but it leaves zeros where garbage might |
66 |
* otherwise have been found. Gets us closer to having the equivalent |
67 |
* of a memset()-to-zero data structure after calling the free |
68 |
* functions. |
69 |
*/ |
70 |
fprintf(codefile, "*%s = 0;\n", name); |
71 |
break; |
64 |
break; |
72 |
case TBitString: |
65 |
case TBitString: |
73 |
if (ASN1_TAILQ_EMPTY(t->members)) |
66 |
if (ASN1_TAILQ_EMPTY(t->members)) |
74 |
- |
|
|