Rebuild for two reasons..one because it's leaking and the second because it's an S-trap. The vent MUST come off the trap arm before that turns down. IOW, the pipe coming out of the end of the p-trap must be straight with a vent coming off of it before the waste can turn down.
Jad is correct, what you have there is very much wrong. The trap must be vented by a vertical riser within the max distance specified by your code. The pitch of the trap arm cannot exceed 2% between the trap and it's vent.
You CANNOT break the "bond between the riser and the P trap" unless it was a very poor joint in the first place, in which case it, and any others done the same way should be replaced. And, replaced with the proper slope and fittings.