Code: my_object_error_quark (void)
{
  static GQuark quark = 0;
  if (!quark)
    quark = g_quark_from_static_string ("my_object_error");
  return quark;
}

Commit Message: 
CWE ID: CWE-264
my_object_error_quark (void)
