Use statically allocated buffer with X509_NAME_online.
Use statically allocated buffer with X509_NAME_online.

X509_NAME_oneline is probably using "malloc" to allocate the buffer, releasing the buffer with "yr_free" is not a good idea for two reasons:

- It breaks tools used for detecting memory leaks as the buffer is not allocated with "yr_malloc" but is freed with "yr_free"
- In Windows "yr_malloc/yr_free" use a different heap that the one used by standard "malloc/free", so you can not free with "yr_free" something allocated with "malloc"

plusvic/yara,kallanreed/yara,digideskio/yara,tdr130/yara,binsrc/yara,wxsBSD/yara,pombredanne/yara,wxsBSD/yara,neatsun/yara,digideskio/yara,hillu/yara,tanium/yara,rednaga/yara,0x0mar/yara,tdr130/yara,jpypi/yara,msuvajac/yara,binsrc/yara,foreni-packages/yara,neatsun/yara,jshufelt/yara,foreni-packages/yara,pombredanne/yara,hillu/yara,neatsun/yara,pombredanne/yara,cblichmann/yara,VirusTotal/yara,cblichmann/yara,plusvic/yara,0x0mar/yara,VirusTotal/yara,wxsBSD/yara,tanium/yara,frbapolkosnik/yara,cblichmann/yara,wxsBSD/yara,rayyang2000/yara,tdr130/yara,VirusTotal/yara,rayyang2000/yara,MeteorAdminz/yara,foreni-packages/yara,msuvajac/yara,smaudet/yara,kallanreed/yara,kallanreed/yara,cblichmann/yara,MeteorAdminz/yara,wxsBSD/yara,smaudet/yara,jshufelt/yara,bmagistro/yara,binsrc/yara,mgoffin/yara,VirusTotal/yara,hillu/yara,beikezcs/yara,plusvic/yara,jpypi/yara,Security513/yara,frbapolkosnik/yara,jpypi/yara,digideskio/yara,frbapolkosnik/yara,mgoffin/yara,rednaga/yara,0x0mar/yara,jshufelt/yara,rednaga/yara,mgoffin/yara,mgoffin/yara,beikezcs/yara,smaudet/yara,plusvic/yara,0x0mar/yara,bmagistro/yara,binsrc/yara,digideskio/yara,plusvic/yara,beikezcs/yara,bmagistro/yara,MeteorAdminz/yara,rayyang2000/yara,Security513/yara,smaudet/yara,jshufelt/yara,cblichmann/yara,hillu/yara,Security513/yara,hillu/yara,tanium/yara,pombredanne/yara,pombredanne/yara,msuvajac/yara,frbapolkosnik/yara,VirusTotal/yara