diff options
Diffstat (limited to 'gdb/python/py-signalevent.c')
-rw-r--r-- | gdb/python/py-signalevent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-signalevent.c b/gdb/python/py-signalevent.c index e4e9768..a8f41c2 100644 --- a/gdb/python/py-signalevent.c +++ b/gdb/python/py-signalevent.c @@ -27,7 +27,7 @@ PyObject * create_signal_event_object (enum gdb_signal stop_signal) { const char *signal_name; - gdbpy_ref signal_event_obj + gdbpy_ref<> signal_event_obj (create_stop_event_object (&signal_event_object_type)); if (signal_event_obj == NULL) @@ -35,7 +35,7 @@ create_signal_event_object (enum gdb_signal stop_signal) signal_name = gdb_signal_to_name (stop_signal); - gdbpy_ref signal_name_obj (PyString_FromString (signal_name)); + gdbpy_ref<> signal_name_obj (PyString_FromString (signal_name)); if (signal_name_obj == NULL) return NULL; if (evpy_add_attribute (signal_event_obj.get (), |