projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix possible null pointer dereference
[pspp]
/
src
/
ui
/
gui
/
psppire-dialog-action-autorecode.c
diff --git
a/src/ui/gui/psppire-dialog-action-autorecode.c
b/src/ui/gui/psppire-dialog-action-autorecode.c
index a86420919af8266eff7c2f69b33ab55291e10260..505ff30261c3ee12f19baeae6be6141e96546eef 100644
(file)
--- a/
src/ui/gui/psppire-dialog-action-autorecode.c
+++ b/
src/ui/gui/psppire-dialog-action-autorecode.c
@@
-112,7
+112,7
@@
nlp_destroy (gpointer data)
static char *
static char *
-generate_syntax (PsppireDialogAction *act)
+generate_syntax (
const
PsppireDialogAction *act)
{
PsppireDialogActionAutorecode *rd = PSPPIRE_DIALOG_ACTION_AUTORECODE (act);
{
PsppireDialogActionAutorecode *rd = PSPPIRE_DIALOG_ACTION_AUTORECODE (act);
@@
-380,8
+380,6
@@
psppire_dialog_action_autorecode_activate (PsppireDialogAction *a)
psppire_dialog_action_set_refresh (pda, refresh);
psppire_dialog_action_set_valid_predicate (pda, dialog_state_valid);
psppire_dialog_action_set_refresh (pda, refresh);
psppire_dialog_action_set_valid_predicate (pda, dialog_state_valid);
- if (PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_autorecode_parent_class)->activate)
- PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_autorecode_parent_class)->activate (pda);
}
static void
}
static void