summaryrefslogtreecommitdiff
path: root/plugins/shellexec/shellexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/shellexec/shellexec.c')
-rw-r--r--plugins/shellexec/shellexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/shellexec/shellexec.c b/plugins/shellexec/shellexec.c
index 56ceb970..99bb4715 100644
--- a/plugins/shellexec/shellexec.c
+++ b/plugins/shellexec/shellexec.c
@@ -106,7 +106,7 @@ shx_callback (Shx_action_t *action, int ctx)
deadbeef->pl_lock ();
ddb_playlist_t *plt = deadbeef->plt_get_curr ();
if (plt) {
- DB_playItem_t **items;
+ DB_playItem_t **items = NULL;
int items_count = deadbeef->plt_getselcount (plt);
if (0 < items_count) {
items = malloc (sizeof (DB_playItem_t *) * items_count);