Task #967 - pcaudiolib-1.1-15.fc41/scan-results.err

back to task #967
download
Error: GCC_ANALYZER_WARNING (CWE-401):
pcaudiolib-1.1-build/pcaudiolib-1.1/src/alsa.c: scope_hint: In function 'create_alsa_object'
pcaudiolib-1.1-build/pcaudiolib-1.1/src/alsa.c:264:16: warning[-Wanalyzer-malloc-leak]: leak of 'self'
#  262|   	self->vtable.strerror = alsa_object_strerror;
#  263|   
#  264|-> 	return &self->vtable;
#  265|   }
#  266|   

Error: GCC_ANALYZER_WARNING (CWE-401):
pcaudiolib-1.1-build/pcaudiolib-1.1/src/oss.c: scope_hint: In function 'create_oss_object'
pcaudiolib-1.1-build/pcaudiolib-1.1/src/oss.c:181:16: warning[-Wanalyzer-malloc-leak]: leak of 'self'
#  179|   	self->vtable.strerror = oss_object_strerror;
#  180|   
#  181|-> 	return &self->vtable;
#  182|   }
#  183|   

Error: GCC_ANALYZER_WARNING (CWE-401):
pcaudiolib-1.1-build/pcaudiolib-1.1/src/pulseaudio.c: scope_hint: In function 'create_pulseaudio_object'
pcaudiolib-1.1-build/pcaudiolib-1.1/src/pulseaudio.c:208:16: warning[-Wanalyzer-malloc-leak]: leak of 'self'
#  206|   	self->vtable.strerror = pulseaudio_object_strerror;
#  207|   
#  208|-> 	return &self->vtable;
#  209|   }
#  210|