New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
db-parser, pdbtool, graphite-output: fix glib assertion error #3344
Conversation
Build SUCCESS |
In the |
Unfortunately I introduced this error. :( Checked my earlier PR #3265, there are other places where we are mixing |
Build SUCCESS |
Thanks for pointing these out. I fixed those too. |
Build SUCCESS |
I forgot about a signed off. Fixed. |
``` void g_error_free (GError *error) { g_return_if_fail (error != NULL); g_free (error->message); g_slice_free (GError, error); } ``` `g_error_free` does not expect it's parameter to be null. If syslog-ng is started with `G_DEBUG=fatal-warnings`, this causes a crash. Otherwise there is a warning: ``` [2020-07-01T13:17:46.293581] g_error_free: assertion 'error != NULL' failed ``` Signed-off-by: Antal Nemes <antal.nemes.hu@gmail.com>
Signed-off-by: Antal Nemes <antal.nemes.hu@gmail.com>
Signed-off-by: Antal Nemes <antal.nemes.hu@gmail.com>
Signed-off-by: Antal Nemes <antal.nemes.hu@gmail.com>
Signed-off-by: Antal Nemes <antal.nemes.hu@gmail.com>
Signed-off-by: Antal Nemes <antal.nemes.hu@gmail.com>
Signed-off-by: Antal Nemes <antal.nemes.hu@gmail.com>
Build SUCCESS |
g_error_free
does not expect it's parameter to be null. If syslog-ngis started with
G_DEBUG=fatal-warnings
, this causes acrash. Otherwise there is a warning:
Example configuration:
/tmp/patterndb.xml: