summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-12-31 16:16:20 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-12-31 16:16:20 (GMT)
commit8599cd772627ed8f7c923615fe991808d3f5c882 (patch)
tree95f266197c63c51c4f6513e5575f935a63af6fa0 /src/analysis
parente0ab9498f78ee6b4fbbba25400d78436db682899 (diff)
Updated the ROP gadgets finder.
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/loading.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/analysis/loading.c b/src/analysis/loading.c
index 700a03f..f8dc2c3 100644
--- a/src/analysis/loading.c
+++ b/src/analysis/loading.c
@@ -368,9 +368,14 @@ void g_delayed_study_preload_only(GDelayedStudy *dstudy)
void qck_study_new_content(GBinContent *content, ProjectContentState state)
{
+ GStudyProject *project; /* Projet courant */
GDelayedStudy *dstudy; /* Etude à conduire */
- dstudy = g_delayed_study_new(get_current_project(), content, state);
+ project = get_current_project();
+
+ dstudy = g_delayed_study_new(project, content, state);
+
+ g_object_unref(G_OBJECT(project));
study_new_content(dstudy);